From 198dba60fab699982024e73e265360792b8c9748 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Sun, 23 Oct 2022 19:46:43 -0800 Subject: [PATCH] fix href and to attribute clashes --- frontend/components/Base/Button.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/components/Base/Button.vue b/frontend/components/Base/Button.vue index d2b8541..1fcb2f2 100644 --- a/frontend/components/Base/Button.vue +++ b/frontend/components/Base/Button.vue @@ -3,7 +3,6 @@ v-if="to" v-bind="attributes" ref="submitBtn" - :to="to" class="btn" :class="{ loading: loading, @@ -64,7 +63,7 @@ const attributes = computed(() => { if (props.to) { return { - href: props.to, + to: props.to, }; } return {