Skip to content

Commit

Permalink
fix: Fix signed in check (#7382)
Browse files Browse the repository at this point in the history
The loading/loaded states where swapped, oops...
  • Loading branch information
mydea committed Jul 10, 2023
1 parent 9f6c783 commit a32ac60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/codeContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ export function useCodeContextState(fetcher = fetchCodeKeywords): CodeContextTyp

useEffect(() => {
if (cachedCodeKeywords === null) {
setStatus('loaded');
setStatus('loading');
fetcher().then((config: CodeKeywords) => {
cachedCodeKeywords = config;
setCodeKeywords(config);
setStatus('loading');
setStatus('loaded');
});
}
}, [setStatus, setCodeKeywords, fetcher]);
Expand Down

1 comment on commit a32ac60

@vercel
Copy link

@vercel vercel bot commented on a32ac60 Jul 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs.sentry.dev
docs.sentry.io
sentry-docs-git-master.sentry.dev

Please sign in to comment.