1👍
I found that I am missing parentheses in the arrow function that returning the state object.
state: () => ({
isUserLoggedIn: false
}),
Thanks for the effort.
Source:stackexchange.com
1👍
I found that I am missing parentheses in the arrow function that returning the state object.
state: () => ({
isUserLoggedIn: false
}),
Thanks for the effort.