From 97377543b86beef4ea41b66a47dbc91192f57c65 Mon Sep 17 00:00:00 2001 From: Kelvin Oghenerhoro Omereshone Date: Fri, 20 Sep 2024 18:16:31 +0100 Subject: [PATCH] feat(mellow-vue): remove accessing user details with .value --- templates/mellow-vue/assets/js/pages/dashboard/profile.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/mellow-vue/assets/js/pages/dashboard/profile.vue b/templates/mellow-vue/assets/js/pages/dashboard/profile.vue index 40271e0..df0268a 100644 --- a/templates/mellow-vue/assets/js/pages/dashboard/profile.vue +++ b/templates/mellow-vue/assets/js/pages/dashboard/profile.vue @@ -15,8 +15,8 @@ defineOptions({ const loggedInUser = usePage().props.loggedInUser const form = useForm({ - email: loggedInUser.value.email, - fullName: loggedInUser.value.fullName, + email: loggedInUser.email, + fullName: loggedInUser.fullName, currentPassword: null, password: null, confirmPassword: null