Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix

Joshen Limed79d87e5d5b
diff --git a/studio/pages/_app.tsx b/studio/pages/_app.tsx
index 99fd55c17c2..a3685b9487c 100644
--- a/studio/pages/_app.tsx
+++ b/studio/pages/_app.tsx
@@ -62,6 +62,10 @@ dayjs.extend(timezone)
dayjs.extend(relativeTime)
dart(Prism)
+if (!IS_PLATFORM && process.env.NEXT_PUBLIC_ENVIRONMENT === 'staging') {
+ LogRocket.init('bffopb/supabase-dashboard-staff')
+}
+
loader.config({
// [Joshen] Attempt for offline support/bypass ISP issues is to store the assets required for monaco
// locally. We're however, only storing the assets which we need (based on what the network tab loads
@@ -98,12 +102,6 @@ function CustomApp({ Component, pageProps }: AppPropsWithLayout) {
const getSavingState = () => rootStore.content.savingState
- useEffect(() => {
- if (!IS_PLATFORM && process.env.NEXT_PUBLIC_ENVIRONMENT === 'staging') {
- LogRocket.init('bffopb/supabase-dashboard-staff')
- }
- }, [])
-
useEffect(() => {
// Check for telemetry consent
if (typeof window !== 'undefined') {