diff --git a/app/components/ErrorPage.tsx b/app/components/ErrorPage.tsx index db279eda6..c0c829aea 100644 --- a/app/components/ErrorPage.tsx +++ b/app/components/ErrorPage.tsx @@ -29,7 +29,7 @@ type Props = { children: ReactNode; message?: string } export function ErrorPage({ children }: Props) { return ( -
+
+ {process.env.MSW_BANNER ? : null} + {children} +
+ ) } -export function MswBanner({ disableButton }: Props) { +function MswBanner() { const [isOpen, setIsOpen] = useState(false) const closeModal = () => setIsOpen(false) return ( <> - {/* The [&+*]:pt-10 style is to ensure the page container isn't pushed out of screen as it uses 100vh for layout */} -