From 7f2407996fb7f986374d92e473ab6982b0c481ee Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 20 Aug 2024 17:02:38 +0200 Subject: [PATCH] chore: const var --- src/components/common/VnInputTime.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/VnInputTime.vue b/src/components/common/VnInputTime.vue index 8167bac0b..0b4e72cb8 100644 --- a/src/components/common/VnInputTime.vue +++ b/src/components/common/VnInputTime.vue @@ -49,7 +49,7 @@ const formattedTime = computed({ time = time.substring(0, 2) + ':' + time.substring(3, 5); } if (!props.timeOnly) { - let [hh, mm] = time.split(':'); + const [hh, mm] = time.split(':'); const date = new Date(model.value ? model.value : initialDate.value); date.setHours(hh, mm, 0);