mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(site): add an organization switcher to the user menu (#13269)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user