Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants