diff --git a/resources/js/Components/NotificationBar.vue b/resources/js/Components/NotificationBar.vue index f2609d5..bd445bc 100644 --- a/resources/js/Components/NotificationBar.vue +++ b/resources/js/Components/NotificationBar.vue @@ -15,12 +15,11 @@ const props = defineProps({ color: { type: String, required: true - } + }, }) -const componentClass = computed(() => props.outline - ? colorsOutline[props.color] - : colorsBgLight[props.color] +const componentClass = computed(() => + props.outline ? colorsOutline[props.color] : colorsBgLight[props.color] ) const isDismissed = ref(false) @@ -38,7 +37,7 @@ const hasRightSlot = computed(() => slots.right)