Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
AmonDeShir committed Dec 12, 2024
1 parent dd0c8c7 commit 8dac6bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions resources/js/components/Crud/CrudItem.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<script setup lang="ts" generic="T extends { id: string | number, createdAt: string, updatedAt: string }">
import useRequestResolution from '@/Helpers/RequestResolution'
import InputWrapper from '@/components/QuizzesPanel/InputWrapper.vue'
import RequestWrapper from '@/components/Common/RequestWrapper.vue'
import { ref } from 'vue'
import { CheckIcon, PencilIcon, TrashIcon, XMarkIcon } from '@heroicons/vue/24/outline'
import { vAutoAnimate } from '@formkit/auto-animate'
import vDynamicInputWidth from '@/Helpers/vDynamicInputWidth'
import WarningMessageBox from '@/components/Common/WarningMessageBox.vue'
import { type Errors, type RequestPayload } from '@inertiajs/core'
import { formatDate } from '@/Helpers/Format'
Expand All @@ -17,7 +15,7 @@ const props = defineProps<{
disableEditButton?: boolean
}>()
const slots = defineSlots<{
defineSlots<{
deleteMessage: (scope: { item: T }) => any
actions: (scope: { showDeleteMsg: () => void, editMode: (enabled: boolean) => void }) => any
title: (scope: { item: T, editing: boolean, errors: Errors }) => any
Expand Down

0 comments on commit 8dac6bd

Please sign in to comment.