chore: code cleanup

This commit is contained in:
Muhsin Keloth
2024-04-25 11:38:22 +05:30
parent 0becb2ec94
commit aab6a1eb34
+1 -5
View File
@@ -45,17 +45,13 @@ const props = defineProps({
type: String,
default: 'primary',
},
iconOnly: {
type: Boolean,
default: false,
},
});
const emits = defineEmits(['click']);
const attrs = useAttrs();
const colorClass = computed(() => {
if (props.isDisabled) {
if (attrs.disabled) {
return 'bg-ash-200 text-ash-600 cursor-not-allowed';
}