From 74b698d72809acc920dc758f59777475c90fe12d Mon Sep 17 00:00:00 2001 From: Temmie Date: Mon, 11 Aug 2025 01:11:27 +0200 Subject: [PATCH] chore: change type hinting syntax on navbar init --- layouts/client.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/client.vue b/layouts/client.vue index f2582cf..98816ce 100644 --- a/layouts/client.vue +++ b/layouts/client.vue @@ -152,18 +152,18 @@ const guilds = await api.fetchMyGuilds(); onMounted(() => { if (!navbar.value) { - const helpItem = { + const sourceLinkItem: NavbarItem = { title: "Source", icon: "lucide:code-xml", callback: () => { open("https://git.gorb.app/gorb/frontend") } - } as NavbarItem + } navbar.value = { clientItems: [ - helpItem + sourceLinkItem ], channelItems: [] // set by the channel - } as INavbar + } } })