diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-03-15 00:13:40 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-03-15 00:13:40 +0000 |
| commit | c9aefa81ca1950121d2357fc66afe15eb400f537 (patch) | |
| tree | fd6196b55626cea8101cd5a4a00cb2a00d8a495b /components/base/Button.vue | |
| parent | 1dd5d0fa8bb2ae794b263d1629a662166a9b9d08 (diff) | |
Fix eslint errors
Diffstat (limited to 'components/base/Button.vue')
| -rw-r--r-- | components/base/Button.vue | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/components/base/Button.vue b/components/base/Button.vue index a53e329..663ac47 100644 --- a/components/base/Button.vue +++ b/components/base/Button.vue @@ -13,7 +13,7 @@ const props = defineProps({ label: String, icon: { type: Array<String>, - required: false + required: false, }, disabled: Boolean, }); @@ -28,8 +28,11 @@ const onClick = (event: MouseEvent) => { </script> <template> - <a id="button" :class="{ text: type === 'text', solid: type === 'solid', disabled: disabled, [accent]: true }" - @click.stop="onClick"> + <a + id="button" + :class="{ text: type === 'text', solid: type === 'solid', disabled: disabled, [accent]: true }" + @click.stop="onClick" + > <font-awesome-icon :icon="icon" v-if="icon" /> {{ label }} </a> @@ -68,7 +71,7 @@ const onClick = (event: MouseEvent) => { color: var(--color-false); &:hover { - color: var(--color-false-hover) + color: var(--color-false-hover); } } @@ -103,4 +106,4 @@ const onClick = (event: MouseEvent) => { background-color: var(--color-border); } } -</style>
\ No newline at end of file +</style> |
