Skip to content

Commit 3c817d3

Browse files
authored
Remove unnecessary prop (#102)
1 parent 826412b commit 3c817d3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

resources/js/components/AppearanceTabs.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
import { useAppearance } from '@/composables/useAppearance';
33
import { Monitor, Moon, Sun } from 'lucide-vue-next';
44
5-
interface Props {
6-
class?: string;
7-
}
8-
9-
const { class: containerClass = '' } = defineProps<Props>();
10-
115
const { appearance, updateAppearance } = useAppearance();
126
137
const tabs = [
@@ -18,7 +12,7 @@ const tabs = [
1812
</script>
1913

2014
<template>
21-
<div :class="['inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800', containerClass]">
15+
<div class="inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800">
2216
<button
2317
v-for="{ value, Icon, label } in tabs"
2418
:key="value"

0 commit comments

Comments
 (0)