We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da2f1f commit 96d0bf2Copy full SHA for 96d0bf2
packages/console/src/pages/Callback/index.tsx
@@ -3,7 +3,6 @@ import { useEffect } from 'react';
3
import { useNavigate } from 'react-router-dom';
4
5
import AppLoading from '@/components/AppLoading';
6
-import { isDevFeaturesEnabled } from '@/consts/env';
7
import { consumeSavedRedirect } from '@/utils/storage';
8
9
/** The global callback page for all sign-in redirects from Logto main flow. */
@@ -12,10 +11,6 @@ function Callback() {
12
11
const { clearAllTokens } = useLogto();
13
14
useEffect(() => {
15
- if (!isDevFeaturesEnabled) {
16
- return;
17
- }
18
-
19
void clearAllTokens();
20
}, [clearAllTokens]);
21
0 commit comments