From 7621e5461f84464fb2b5e99842e7457e651b379a Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Fri, 19 Aug 2022 23:55:26 -0400 Subject: [PATCH] refactor: button.vue to composition api Disabled require-default-prop for the to prop since it's only used when link is true. use null as default for props.to https://akkoma.dev/FoundKeyGang/FoundKey/pulls/79 --- packages/client/src/components/ui/button.vue | 219 +++++++++---------- 1 file changed, 100 insertions(+), 119 deletions(-) diff --git a/packages/client/src/components/ui/button.vue b/packages/client/src/components/ui/button.vue index b46e7f031..5552195c1 100644 --- a/packages/client/src/components/ui/button.vue +++ b/packages/client/src/components/ui/button.vue @@ -1,18 +1,6 @@ -