diff --git a/apps/studio/components/ui/GlobalErrorBoundaryState.tsx b/apps/studio/components/ui/GlobalErrorBoundaryState.tsx index fbe2f76a020..e47dd9380bd 100644 --- a/apps/studio/components/ui/GlobalErrorBoundaryState.tsx +++ b/apps/studio/components/ui/GlobalErrorBoundaryState.tsx @@ -14,6 +14,7 @@ import { cn, } from 'ui' import { InlineLinkClassName } from './InlineLink' +import { ContactSupportButton } from './ContactSupportButton' // More correct version of FallbackProps from react-error-boundary export type FallbackProps = { @@ -132,14 +133,14 @@ export const GlobalErrorBoundaryState = ({ error, resetErrorBoundary }: Fallback )}
- + {/* [Joshen] For local and staging, allow us to escape the error boundary */} {/* We could actually investigate how to make this available on prod, but without being able to reliably test this, I'm not keen to do it now */} {process.env.NEXT_PUBLIC_ENVIRONMENT !== 'prod' ? (