From 2de2a2fb41b611a7e8b84f9e364ca7a50486e2cf Mon Sep 17 00:00:00 2001 From: TzeYiing Date: Thu, 15 Sep 2022 02:15:05 +0800 Subject: [PATCH] chore: remove commented code --- studio/tests/helpers.tsx | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/studio/tests/helpers.tsx b/studio/tests/helpers.tsx index 1f8f16f2518..b3032a492b8 100644 --- a/studio/tests/helpers.tsx +++ b/studio/tests/helpers.tsx @@ -65,43 +65,3 @@ const SwrTestConfig: React.FC = ({ children }) => { type renderParams = Parameters export const render = ((ui: renderParams[0], options: renderParams[1]) => originalRender(ui, { wrapper: SwrTestConfig, ...options })) as typeof originalRender - -// function MyApp({ Component, pageProps }: AppPropsWithLayout) { -// const [rootStore] = useState(() => new RootStore()) - -// useEffect(() => { -// async function handleEmailVerificationError() { -// const { error } = await auth.initialize() - -// if (error?.message === GOTRUE_ERRORS.UNVERIFIED_GITHUB_USER) { -// rootStore.ui.setNotification({ -// category: 'error', -// message: -// 'Please verify your email on GitHub first, then reach out to us at support@supabase.io to log into the dashboard', -// }) -// } -// } - -// handleEmailVerificationError() -// }, []) - -// const getLayout = Component.getLayout ?? ((page) => page) - -// return ( -// -// -// -// Supabase -// -// -// -// -// -// {getLayout()} -// -// -// -// -// -// ) -// }