Skip to content

Commit

Permalink
fixup! Refactor out server-side singleton stores
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Nov 8, 2023
1 parent 92705bb commit 4076bcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/email/EmailVerificationStatus.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
}
}
$: emailResult = useEmailResult();
$: requestedEmail = useRequestedEmail();
const emailResult = useEmailResult();
const requestedEmail = useRequestedEmail();
onNavigate(() => {
emailResult.set(null);
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/routes/(authenticated)/user/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
$: user = data?.user;
let deleteModal: DeleteUserModal;
$: emailResult = useEmailResult();
$: requestedEmail = useRequestedEmail();
const emailResult = useEmailResult();
const requestedEmail = useRequestedEmail();
$: if (data.emailResult) emailResult.set(data.emailResult);
async function openDeleteModal(): Promise<void> {
Expand Down

0 comments on commit 4076bcb

Please sign in to comment.