Skip to content

Commit

Permalink
fix/reactivity of button classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sqrcz committed Feb 15, 2024
1 parent e274e44 commit fce66c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/FwbButton/FwbButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ const props = withDefaults(defineProps<IButtonProps>(), {
tag: 'a',
})
const buttonClasses = useButtonClasses(toRefs(props))
const wrapperClasses = computed(() => useMergeClasses(buttonClasses.wrapperClasses))
const spanClasses = computed(() => useMergeClasses(buttonClasses.spanClasses))
const buttonClasses = computed(() => useButtonClasses(toRefs(props)))
const wrapperClasses = computed(() => useMergeClasses(buttonClasses.value.wrapperClasses))
const spanClasses = computed(() => useMergeClasses(buttonClasses.value.spanClasses))
const isOutlineGradient = computed(() => props.outline && props.gradient)
Expand Down

0 comments on commit fce66c5

Please sign in to comment.