mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 13:19:09 +03:00
routes/__root.tsx renders <FeaturePreviewModal />, which transitively calls useBannerStack(). Master's pages/_app.tsx wraps the tree in BannerStackProvider around FeaturePreviewContextProvider; the TanStack root was missing that wrapper, so SSR prerender of `/` threw "useBannerStack must be used within BannerStackProvider" and the build failed at the prerender stage. Mirror the master ordering: BannerStackProvider directly inside CommandProvider, around FeaturePreviewContextProvider.