로그인/회원가입 화면 width수정
[x] 화면이 너무 큰거같아 560px로 고쳤습니다
[x] 카카오톡 로그인에서 뒤로 가면 오류뜸
Error: useAuth는 AuthProvider 내에서 사용되어야 합니다.
at useAuth (<http://localhost:5173/src/contexts/AuthContext.jsx:166:11>)
at LoginPage (<http://localhost:5173/src/pages/AuthPage/LoginPage.jsx:29:38>)
at react-stack-bottom-frame (<http://localhost:5173/node_modules/.vite/deps/react-dom_client.js?v=bfbc587f:17424:20>)
at renderWithHooks (<http://localhost:5173/node_modules/.vite/deps/react-dom_client.js?v=bfbc587f:4206:24>)
at updateFunctionComponent (<http://localhost:5173/node_modules/.vite/deps/react-dom_client.js?v=bfbc587f:6619:21>)
at beginWork (<http://localhost:5173/node_modules/.vite/deps/react-dom_client.js?v=bfbc587f:7654:20>)
at runWithFiberInDEV (<http://localhost:5173/node_modules/.vite/deps/react-dom_client.js?v=bfbc587f:1485:72>)
at performUnitOfWork (<http://localhost:5173/node_modules/.vite/deps/react-dom_client.js?v=bfbc587f:10868:98>)
at workLoopSync (<http://localhost:5173/node_modules/.vite/deps/react-dom_client.js?v=bfbc587f:10728:43>)
at renderRootSync (<http://localhost:5173/node_modules/.vite/deps/react-dom_client.js?v=bfbc587f:10711:13>)
💿 Hey developer 👋
You can provide a way better UX than this when your app throws errors by providing your own ErrorBoundary
or errorElement
prop on your route.