From 6c4973dcce350747361e203dcb605b12fd648f4e Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Sun, 9 Jun 2024 21:11:19 +0100 Subject: [PATCH] fix: sidebar list duplication --- apps/dashboard/src/lib/components/LMS/SideBar.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/dashboard/src/lib/components/LMS/SideBar.svelte b/apps/dashboard/src/lib/components/LMS/SideBar.svelte index eb41f068..d65d236e 100644 --- a/apps/dashboard/src/lib/components/LMS/SideBar.svelte +++ b/apps/dashboard/src/lib/components/LMS/SideBar.svelte @@ -13,7 +13,7 @@ import { t } from '$lib/utils/functions/translations'; import { currentOrg } from '$lib/utils/store/org'; - interface sideLinks { + interface SideLinks { name: string; icon: any; link: string; @@ -31,7 +31,7 @@ return pagePath.includes(itemPath); } - let sideLinks: sideLinks[] = []; + let sideLinks: SideLinks[] = []; $: sideLinks = [ { @@ -95,7 +95,7 @@