You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use the package for my project, however after a weird issue in the console and some time looking into the issue, I found that my error is probably due to a feature missing in my version of Pinia (2.0.26) and seems like that feature is added in 2.2.0. The action helper was added to defineStore.
The error I was getting: Uncaught TypeError: Cannot destructure property 'action' of 'undefined' as it is undefined.
The related code snippet:
The text was updated successfully, but these errors were encountered:
I tried to use the package for my project, however after a weird issue in the console and some time looking into the issue, I found that my error is probably due to a feature missing in my version of Pinia (2.0.26) and seems like that feature is added in 2.2.0. The
action
helper was added todefineStore
.The error I was getting:
Uncaught TypeError: Cannot destructure property 'action' of 'undefined' as it is undefined.
The related code snippet:
The text was updated successfully, but these errors were encountered: