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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Incorrect type of useContext().from #444

Closed
charlie0228 opened this issue Apr 6, 2021 · 1 comment
Closed

fix: Incorrect type of useContext().from #444

charlie0228 opened this issue Apr 6, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@charlie0228
Copy link
Contributor

馃悰 The bug
According to Nuxt document, the type of context.from is a vue route object but useContext().from is not.

馃寛 Expected behaviour
Type of useContext().from should as same as context.from instead of route.redirectedFrom

@charlie0228 charlie0228 added the bug Something isn't working label Apr 6, 2021
@charlie0228 charlie0228 changed the title fix: fix: Incorrect type of useContext().from Apr 6, 2021
Copy link
Member

Thanks @charlie0228 鉂わ笍 - this will be fixed in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants