feat(site): add an organization switcher to the user menu (#13269)

This commit is contained in:
Kayla Washburn-Love
2024-05-15 13:14:34 -06:00
committed by GitHub
parent 1f5788feff
commit fc6f18aa96
6 changed files with 67 additions and 2 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ export const RequireAuth: FC = () => {
};
type RequireKeys<T, R extends keyof T> = Omit<T, R> & {
[K in keyof Pick<T, R>]: NonNullable<T[K]>;
[K in keyof Pick<T, R>]-?: NonNullable<T[K]>;
};
// We can do some TS magic here but I would rather to be explicit on what