-
Notifications
You must be signed in to change notification settings - Fork 2
πfix: μλ¬ νμ΄μ§ 리λ€μ΄λνΈ λ¬Έμ μμ #128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. Walkthroughμ΄ λ³κ²½μ¬νμ μ€λ₯ νμ΄μ§μ 404 νμ΄μ§μ λ²νΌ λμ λ° ν μ€νΈλ₯Ό λμ μΌλ‘ κ°μ νκ³ , μΈμ¦μ΄ νμν κ²½λ‘μ νλ³ λ°©μμ μ κ·μ κΈ°λ°μΌλ‘ μ κ΅ννμ¬ λ¦¬λλ νΈ μ»΄ν¬λνΈμ λ³΄νΈ κ²½λ‘ κ°μ§λ₯Ό κ°μ ν©λλ€. κΈ°μ‘΄μ window.history κΈ°λ° λ΄λΉκ²μ΄μ μ΄ Next.jsμ useRouterλ‘ μΌμνλμμ΅λλ€. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant ErrorPage
participant NotFoundPage
participant RedirectComponent
participant Router
participant AuthStore
User->>ErrorPage: λ²νΌ ν΄λ¦
ErrorPage->>Router: router.back() λλ reset()
Router-->>User: μ΄μ νμ΄μ§λ‘ μ΄λ λλ μ¬μλ
User->>NotFoundPage: λ²νΌ ν΄λ¦
NotFoundPage->>AuthStore: λ‘κ·ΈμΈ μν νμΈ
NotFoundPage->>Router: router.replace('/')
Router-->>User: λ©μΈ/λμ보λλ‘ μ΄λ
User->>RedirectComponent: λ³΄νΈ κ²½λ‘ μ κ·Ό
RedirectComponent->>AuthStore: λ‘κ·ΈμΈ μν νμΈ
RedirectComponent->>Router: router.replace('/login') (λΉλ‘κ·ΈμΈ μ)
Router-->>User: λ‘κ·ΈμΈ νμ΄μ§λ‘ μ΄λ
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. π§ ESLint
npm error Exit handler never called! π Recent review detailsConfiguration used: CodeRabbit UI π Files selected for processing (3)
β¨ Finishing Touches
πͺ§ TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
π λ³κ²½ μ¬ν κ°μ
β¨ μμ½
β 체ν¬λ¦¬μ€νΈ
π‘ μ°Έκ³ μ¬ν
Summary by CodeRabbit