From b0f85686ce12165af4beb5531fa7eeceeaad7e5c Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Wed, 15 May 2024 11:31:09 +0200 Subject: [PATCH] Fix messageText type --- client/src/components/Login/RegisterForm.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Login/RegisterForm.vue b/client/src/components/Login/RegisterForm.vue index 64a8c2e40316..25546ed46804 100644 --- a/client/src/components/Login/RegisterForm.vue +++ b/client/src/components/Login/RegisterForm.vue @@ -14,7 +14,7 @@ import { BFormInput, BFormText, } from "bootstrap-vue"; -import { computed, ref } from "vue"; +import { computed, type Ref, ref } from "vue"; import { Toast } from "@/composables/toast"; import localize from "@/utils/localization"; @@ -46,7 +46,7 @@ const confirm = ref(null); const password = ref(null); const username = ref(null); const subscribe = ref(null); -const messageText = ref(null); +const messageText: Ref = ref(null); const disableCreate = ref(false); const labelPassword = ref(localize("Password")); const labelPublicName = ref(localize("Public name"));