Skip to content

After sign out move user to articles page#308

Open
hetres122 wants to merge 2 commits intodevelopfrom
After_sign_out_move_user_to_articles_page
Open

After sign out move user to articles page#308
hetres122 wants to merge 2 commits intodevelopfrom
After_sign_out_move_user_to_articles_page

Conversation

@hetres122
Copy link
Copy Markdown
Collaborator

No description provided.

@vercel
Copy link
Copy Markdown

vercel bot commented Oct 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dream-stack-for-react-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 1, 2023 9:49pm
dream-stack-for-react-dev-sitv ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 1, 2023 9:49pm

Copy link
Copy Markdown
Owner

@polubis polubis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add this push inside intercept callback.
So, instead of adding this if, just call push after u authorize and wrap it with anonymous callback.

() => {
unauthorize () 
router.push

}

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.

[EASY] After sign out move user to /articles page

2 participants