Skip to content

Commit 419b628

Browse files
committed
refactor: remove unused icon imports and skeleton button definitions in CreateEditSkeleton.vue
1 parent 8e917b0 commit 419b628

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

adminforth/spa/src/views/CreateEditSkeleton.vue

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,7 @@
3535
</template>
3636

3737
<script setup lang="ts">
38-
import { computed, markRaw } from 'vue';
39-
import {
40-
IconLinkOutline, IconCodeOutline, IconRectangleListOutline,
41-
IconOrderedListOutline, IconLetterBoldOutline, IconLetterUnderlineOutline,
42-
IconLetterItalicOutline, IconTextSlashOutline
43-
} from '@iconify-prerendered/vue-flowbite';
44-
import { IconH116Solid, IconH216Solid, IconH316Solid } from '@iconify-prerendered/vue-heroicons';
38+
import { computed } from 'vue';
4539
import { Skeleton } from '@/afcl';
4640
4741
interface Props {
@@ -77,17 +71,4 @@ const getSkeletonInputClass = (column: any) => {
7771
return 'h-[42px] w-full';
7872
};
7973
80-
const skeletonButtons = [
81-
{ id: 'bold', icon: markRaw(IconLetterBoldOutline), sep: false },
82-
{ id: 'italic', icon: markRaw(IconLetterItalicOutline), sep: false },
83-
{ id: 'underline', icon: markRaw(IconLetterUnderlineOutline), sep: false },
84-
{ id: 'strike', icon: markRaw(IconTextSlashOutline), sep: true },
85-
{ id: 'h1', icon: markRaw(IconH116Solid), sep: false },
86-
{ id: 'h2', icon: markRaw(IconH216Solid), sep: false },
87-
{ id: 'h3', icon: markRaw(IconH316Solid), sep: true },
88-
{ id: 'ul', icon: markRaw(IconRectangleListOutline), sep: false },
89-
{ id: 'ol', icon: markRaw(IconOrderedListOutline), sep: false },
90-
{ id: 'link', icon: markRaw(IconLinkOutline), sep: false },
91-
{ id: 'codeBlock', icon: markRaw(IconCodeOutline), sep: false },
92-
];
9374
</script>

0 commit comments

Comments
 (0)