// code-smell-ok(boundary): 렌더 에러는 Next 의 _error 페이지가 잡는다 import type { DehydratedState } from '@tanstack/react-query'; import type { AppProps } from 'next/app'; import Head from 'next/head'; import { NuqsAdapter } from 'nuqs/adapters/next/pages'; import { Suspense, use, type PropsWithChildren } from 'react'; import { AppProviders } from '@/app/providers'; import '@/app/index.css'; type PageProps = { dehydratedState?: DehydratedState }; const mockingReady = typeof window !== 'undefined' && process.env.NODE_ENV === 'development' ? import('@/shared/mocks').then(async ({ worker }) => worker.start({ onUnhandledRequest: 'bypass' }) ) : undefined; const MockingGate = ({ children }: PropsWithChildren) => { if (mockingReady !== undefined) { use(mockingReady); } return <>{children}; }; const App = ({ Component, pageProps }: AppProps) => { return ( <> remember-web }> ); }; const RouteFallback = () => { return (
불러오는 중…
); }; export default App;