From 22ce0549e20ee397cf5953bd6b7aafc752deaa28 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Sat, 2 Nov 2024 20:02:24 -0400 Subject: Run prettier, make lint part of pre-commit --- ui/routes/(app)/me/+page.svelte | 46 ++++++++++++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 12 deletions(-) (limited to 'ui/routes/(app)/me') diff --git a/ui/routes/(app)/me/+page.svelte b/ui/routes/(app)/me/+page.svelte index 82af3c7..26537ad 100644 --- a/ui/routes/(app)/me/+page.svelte +++ b/ui/routes/(app)/me/+page.svelte @@ -3,9 +3,12 @@ import Invites from '$lib/components/Invites.svelte'; - let currentPassword = "", newPassword = "", confirmPassword = "", passwordForm; + let currentPassword = '', + newPassword = '', + confirmPassword = '', + passwordForm; let pending = false; - $: valid = (newPassword === confirmPassword) && (newPassword !== currentPassword); + $: valid = newPassword === confirmPassword && newPassword !== currentPassword; $: disabled = pending || !valid; async function onPasswordChange() { @@ -20,22 +23,41 @@ } -
-