import { Suspense } from "react" import { AppProps, ErrorBoundary, ErrorComponent, AuthenticationError, AuthorizationError, ErrorFallbackProps, useQueryErrorResetBoundary, } from "blitz" import LoginForm from "../auth/components/login-form" import "app/core/styles/index.css" export default function App({ Component, pageProps }: AppProps) { const getLayout = Component.getLayout || ((page) => page) return ( {getLayout()} ) } function RootErrorFallback({ error, resetErrorBoundary }: ErrorFallbackProps) { if (error instanceof AuthenticationError) { return } else if (error instanceof AuthorizationError) { return ( ) } else { return ( ) } }