Skip to content
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

fix: fix the issue where the error snackbar does not display when redirected to /login #439

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

P-manBrown
Copy link
Owner

@P-manBrown P-manBrown commented Dec 25, 2024

Summary

Currently, there are instances where the error snackbar does not display when redirected to the login page due to unauthentication, as shown in the image below.

画面収録 2024-12-25 18 56 42

画面収録 2024-12-25 19 04 19

To address this issue, I have modified the logic for generating the redirect URL to ensure the error snackbar is displayed appropriately.

Changes

  • Updated the redirect URL generation logic to ensure the error snackbar is shown when redirected to the /login page.

Testing

As demonstrated in the GIF image below, I have confirmed that the error snackbar is displayed correctly.

画面収録 2024-12-25 19 07 44

画面収録 2024-12-25 19 10 46

Related Issues (Optional)

None

Notes (Optional)

None

@P-manBrown P-manBrown merged commit bba4ac4 into main Dec 25, 2024
2 checks passed
@P-manBrown P-manBrown deleted the fix/error-snackbar-login-redirect branch December 25, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant