From a717e88fb0da02927e8bf5cd95332f6cf70ba8e4 Mon Sep 17 00:00:00 2001 From: Connor Abbas Date: Sun, 28 Sep 2025 00:27:36 +0000 Subject: [PATCH] fix: props as interface --- src/views/auth/ResetPassword.vue | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/views/auth/ResetPassword.vue b/src/views/auth/ResetPassword.vue index 3b0eda2..0b1dfa4 100644 --- a/src/views/auth/ResetPassword.vue +++ b/src/views/auth/ResetPassword.vue @@ -8,12 +8,9 @@ import InputText from 'primevue/inputtext' import GuestAuthLayout from '@/layouts/GuestAuthLayout.vue' import InputErrors from '@/components/InputErrors.vue' -const props = defineProps({ - token: { - type: String, - required: true, - }, -}) +const props = defineProps<{ + token: string, +}>() const router = useRouter() const route = useRoute()