Move sentry loading further up in the react graph

This commit is contained in:
loucass003
2025-03-26 20:29:32 +01:00
parent 5b5d2d88e5
commit 78ed11bd62
2 changed files with 3 additions and 9 deletions

View File

@@ -34,12 +34,6 @@ export function AppLayout() {
}
}, [config?.doneOnboarding]);
useEffect(() => {
if (config?.errorTracking !== undefined) {
getSentryOrCompute(config.errorTracking ?? false);
}
}, [config?.errorTracking]);
// const location = useLocation();
// const navigationType = useNavigationType();
// useEffect(() => {

View File

@@ -108,9 +108,9 @@ export function useConfigProvider(): ConfigContext {
set((curr) =>
config
? ({
...curr,
...config,
} as Config)
...curr,
...config,
} as Config)
: null
);
if (tauri) {