mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-04-06 02:01:58 +02:00
Move sentry loading further up in the react graph
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
@@ -108,9 +108,9 @@ export function useConfigProvider(): ConfigContext {
|
||||
set((curr) =>
|
||||
config
|
||||
? ({
|
||||
...curr,
|
||||
...config,
|
||||
} as Config)
|
||||
...curr,
|
||||
...config,
|
||||
} as Config)
|
||||
: null
|
||||
);
|
||||
if (tauri) {
|
||||
|
||||
Reference in New Issue
Block a user