diff --git a/studio/components/layouts/SignInLayout/SignInLayout.tsx b/studio/components/layouts/SignInLayout/SignInLayout.tsx index d1db9c712e0..387c0f15167 100644 --- a/studio/components/layouts/SignInLayout/SignInLayout.tsx +++ b/studio/components/layouts/SignInLayout/SignInLayout.tsx @@ -1,6 +1,6 @@ import { useQueryClient } from '@tanstack/react-query' import { useTheme } from 'common' -import { useStore } from 'hooks' +import { useFlag, useStore } from 'hooks' import { usePushNext } from 'hooks/misc/useAutoAuthRedirect' import { BASE_PATH, IS_PLATFORM } from 'lib/constants' import { auth, getReturnToPath, STORAGE_KEY } from 'lib/gotrue' @@ -29,6 +29,7 @@ const SignInLayout = ({ const pushNext = usePushNext() const queryClient = useQueryClient() const { isDarkMode } = useTheme() + const ongoingIncident = useFlag('ongoingIncident') useEffect(() => { const searchParams = new URLSearchParams(location.search) @@ -89,7 +90,7 @@ const SignInLayout = ({ )}
-
+