Skip to content

Commit

Permalink
fix: remove reference to isLoggedIn.value, its not a ref
Browse files Browse the repository at this point in the history
  • Loading branch information
thraizz committed Jan 28, 2024
1 parent dc782eb commit 5fafc14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const { value: password, errorMessage: passwordError } = useField("password");
const { isLoggedIn } = useUser();
watch(
() => isLoggedIn.value,
() => isLoggedIn,
(isLoggedIn) => {
if (isLoggedIn) {
router.push("/");
Expand Down

0 comments on commit 5fafc14

Please sign in to comment.