Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Remove useless imports

Smaug6739492789973a61
diff --git a/frontend/app/App.vue b/frontend/app/App.vue
index febc73d6..621812a4 100644
--- a/frontend/app/App.vue
+++ b/frontend/app/App.vue
@@ -9,7 +9,5 @@
<script setup lang="ts">
const color = usePreferences().get('primaryColor');
setAppColor(Number(color));
-
-import { useFavicon } from '~/composables/useFavicon';
useFavicon();
</script>
diff --git a/frontend/app/composables/useFavicon.ts b/frontend/app/composables/useFavicon.ts
index 9ee0dae4..8ccae22a 100644
--- a/frontend/app/composables/useFavicon.ts
+++ b/frontend/app/composables/useFavicon.ts
@@ -1,5 +1,3 @@
-import { onMounted } from 'vue';
-
export function useFavicon() {
const setFavicon = (isDark: boolean) => {
let link = document.head.querySelector<HTMLLinkElement>('link[rel="icon"]');