Skip to content

Commit 96d0bf2

Browse files
authored
fix(console): remove Callback page dev feature guard (#7649)
1 parent 5da2f1f commit 96d0bf2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/console/src/pages/Callback/index.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { useEffect } from 'react';
33
import { useNavigate } from 'react-router-dom';
44

55
import AppLoading from '@/components/AppLoading';
6-
import { isDevFeaturesEnabled } from '@/consts/env';
76
import { consumeSavedRedirect } from '@/utils/storage';
87

98
/** The global callback page for all sign-in redirects from Logto main flow. */
@@ -12,10 +11,6 @@ function Callback() {
1211
const { clearAllTokens } = useLogto();
1312

1413
useEffect(() => {
15-
if (!isDevFeaturesEnabled) {
16-
return;
17-
}
18-
1914
void clearAllTokens();
2015
}, [clearAllTokens]);
2116

0 commit comments

Comments
 (0)