import VercelIntegrationLayout from 'components/layouts/VercelIntegrationLayout' import { Loader } from 'lucide-react' import { observer, useLocalObservable } from 'mobx-react-lite' import { createContext, useEffect, useState } from 'react' import { Button } from 'ui' const PageContext = createContext(null) function IntegrationComplete() { const PageState = useLocalObservable(() => ({ supabaseProjectRef: '', next: '', loadInitialData() { this.getQueryParams() }, getQueryParams() { const params = new URLSearchParams(window.location.search) this.next = params.get('next') as string this.supabaseProjectRef = params.get('supabaseProjectRef') as string }, })) const [loading, setLoading] = useState(false) useEffect(() => { PageState.loadInitialData() }, []) function onContinue() { setLoading(true) window.location.href = PageState.next } return ( // @ts-ignore

Your new project is spinning up

This may take up to 2 mins, but you can continue on Vercel.

Open Supabase Dashboard →
) } export default observer(IntegrationComplete)