mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +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
@@ -36,6 +36,7 @@ export interface DeploySettingsContextType {
|
||||
removeProvider: (index: number) => void;
|
||||
setProviders: (providers: DeployProvider[]) => void;
|
||||
isConfigured: boolean;
|
||||
isInitialized: boolean;
|
||||
}
|
||||
|
||||
export const DeploySettingsContext = createContext<DeploySettingsContextType | undefined>(undefined);
|
||||
@@ -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