mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Don't set config from OAuth callbacks until after it has been loaded
This commit is contained in:
11 files changed
+49
-194
No files matched your search
@@ -30,6 +30,7 @@ export interface GitSettingsContextType {
|
||||
removeHostToken: (host: string) => void;
|
||||
updateHostToken: (host: string, token: Partial<GitHostToken>) => void;
|
||||
isConfigured: boolean;
|
||||
isInitialized: boolean;
|
||||
}
|
||||
|
||||
export const GitSettingsContext = createContext<GitSettingsContextType | undefined>(undefined);
|
||||
Reference in new issue
Block a user