Skip to content

Commit 0f05319

Browse files
authored
chore(console): remove dev feature guard from one-time token landing page (#8118)
1 parent 47a2eb7 commit 0f05319

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

packages/console/src/cloud/AppRoutes.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { Suspense } from 'react';
22
import { Route, Routes } from 'react-router-dom';
33

44
import DelayedSuspenseFallback from '@/components/DelayedSuspenseFallback';
5-
import { isDevFeaturesEnabled } from '@/consts/env';
65
import ProtectedRoutes from '@/containers/ProtectedRoutes';
76
import { GlobalAnonymousRoute, GlobalRoute } from '@/contexts/TenantsProvider';
87
import { OnboardingApp } from '@/onboarding';
@@ -26,12 +25,10 @@ function AppRoutes() {
2625
<Routes>
2726
<Route path={GlobalAnonymousRoute.Callback} element={<Callback />} />
2827
<Route path={GlobalAnonymousRoute.SocialDemoCallback} element={<SocialDemoCallback />} />
29-
{isDevFeaturesEnabled && (
30-
<Route
31-
path={GlobalAnonymousRoute.OneTimeTokenLanding}
32-
element={<OneTimeTokenLanding />}
33-
/>
34-
)}
28+
<Route
29+
path={GlobalAnonymousRoute.OneTimeTokenLanding}
30+
element={<OneTimeTokenLanding />}
31+
/>
3532
<Route
3633
path={GlobalAnonymousRoute.ExternalGoogleOneTapLanding}
3734
element={<ExternalGoogleOneTapLanding />}

0 commit comments

Comments
 (0)