fix: missing component in simple table.

This commit is contained in:
Abhinav Raut
2025-03-06 20:16:58 +05:30
parent 36d91de8f7
commit 8ed29df11c

View File

@@ -24,8 +24,9 @@
</template>
<script setup>
import { Trash2 } from 'lucide-vue-next';
import { defineProps, defineEmits } from 'vue';
import { Trash2 } from 'lucide-vue-next'
import { defineProps, defineEmits } from 'vue'
import { Button } from '@/components/ui/button'
defineProps({
headers: {
@@ -45,9 +46,9 @@ defineProps({
}
});
const emit = defineEmits(['deleteItem']);
const emit = defineEmits(['deleteItem'])
function deleteItem(item) {
emit('deleteItem', item);
emit('deleteItem', item)
}
</script>