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()} -// -// -// -// -// -// ) -// }