From e811ea39c28d5912c0f61d5e0d056db8eb9d746b Mon Sep 17 00:00:00 2001 From: nabilasherif Date: Wed, 28 Aug 2024 17:49:08 +0300 Subject: [PATCH] defined interfaces for the data --- client/src/components.d.ts | 3 +-- client/src/pages/Login.vue | 35 +++++++++++++++------------ client/src/pages/SignUp.vue | 23 +++++++++--------- client/src/pages/SignUpInvitation.vue | 8 +++--- client/src/types/types.ts | 13 +++++++--- 5 files changed, 47 insertions(+), 35 deletions(-) diff --git a/client/src/components.d.ts b/client/src/components.d.ts index dd2e84c..6c82e00 100644 --- a/client/src/components.d.ts +++ b/client/src/components.d.ts @@ -9,10 +9,9 @@ declare module 'vue' { export interface GlobalComponents { Login: typeof import('./components/Login.vue')['default'] LoginGithub: typeof import('./components/LoginGithub.vue')['default'] - TFLogin: typeof import('./components/TFLogin.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] Test: typeof import('./components/test.vue')['default'] - + TFLogin: typeof import('./components/TFLogin.vue')['default'] } } diff --git a/client/src/pages/Login.vue b/client/src/pages/Login.vue index 223e6f6..752e5d1 100644 --- a/client/src/pages/Login.vue +++ b/client/src/pages/Login.vue @@ -73,7 +73,7 @@ :disabled="!isFormValid" size="large" variant="outlined" - @click="SumbitLogIn" + @click="SubmitLogIn" > Log In @@ -111,12 +111,12 @@ -