Skip to content

Commit

Permalink
fix: sign in
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardoSM committed Sep 22, 2023
1 parent 1bdb14a commit 947aa86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/app/pages/[...slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ onMounted(async () => {
<div
class="mb-2 w-fit rounded-full bg-zinc-900 px-3 py-[2px] text-xs font-medium text-white"
>
{{ $filters.level(currentCourse.level) }}
{{ $filters?.level(currentCourse?.level) }}
</div>
<h1 class="text-3xl font-extrabold">
{{ currentCourse.title }}
Expand Down
2 changes: 1 addition & 1 deletion apps/app/pages/code.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ async function sendCode() {
await signUpStore.attemptEmailAddressVerification({
code: code.join(""),
});
await sessionStore.refreshSession();
userStore.setUser();
sessionStore.refreshSession();
router.push("/");
} catch (e) {
toast?.error("Código incorreto ou expirado.");
Expand Down

0 comments on commit 947aa86

Please sign in to comment.