From d2cb9d4b23a2c596bcb8f98c6d87b049e192b8c7 Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Tue, 23 Apr 2024 11:20:59 +0530 Subject: [PATCH] chore: code cleanup --- app/javascript/v3/components/Form/Button.vue | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/app/javascript/v3/components/Form/Button.vue b/app/javascript/v3/components/Form/Button.vue index 2fbe98c6f..48f8c5545 100644 --- a/app/javascript/v3/components/Form/Button.vue +++ b/app/javascript/v3/components/Form/Button.vue @@ -14,8 +14,7 @@ /> @@ -121,14 +120,12 @@ const iconSize = computed(() => { } return 16; }); - -const handleClick = () => { - emits('click'); -}; - const buttonClasses = computed(() => [ colorClass.value, sizeClass.value, props.classNames, ]); +const handleClick = () => { + emits('click'); +};