Skip to content

Commit 8ad9881

Browse files
committed
🔥
1 parent 768f6de commit 8ad9881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/contexts/auth/RequireAuth.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const RequireAuth: FC = () => {
6767
};
6868

6969
type RequireKeys<T, R extends keyof T> = Omit<T, R> & {
70-
[K in keyof Pick<T, R>]: NonNullable<T[K]>;
70+
[K in keyof Pick<T, R>]-?: NonNullable<T[K]>;
7171
};
7272

7373
// We can do some TS magic here but I would rather to be explicit on what

0 commit comments

Comments
 (0)