Skip to content

Commit c5057ba

Browse files
committed
fix: delete unused code
1 parent 3826478 commit c5057ba

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

adminforth/spa/src/components/Sidebar.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
Default user <strong>"adminforth"</strong> detected. Delete it and create your own account.
5757
</div>
5858

59-
<ul class="af-sidebar-container space-y-2 font-medium">
59+
<ul class="af-sidebar-container space-y-2 font-medium" >
6060
<template v-if="!iconOnlySidebarEnabled || !isSidebarIconOnly" v-for="(item, i) in coreStore.menu" :key="`menu-${i}`">
6161
<div v-if="item.type === 'divider'" class="border-t border-lightSidebarDevider dark:border-darkSidebarDevider"></div>
6262
<div v-else-if="item.type === 'gap'" class="flex items-center justify-center h-8"></div>
@@ -306,9 +306,6 @@ import { Tooltip } from '@/afcl';
306306
import type { AnnouncementBadgeResponse } from '@/types/Common';
307307
import { useAdminforth } from '@/adminforth';
308308
import { IconExclamationCircleOutline} from '@iconify-prerendered/vue-flowbite';
309-
import { useRouter } from 'vue-router';
310-
311-
const router = useRouter();
312309
313310
const isLocalhost = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1' || window.location.hostname === '::1';
314311

0 commit comments

Comments
 (0)