Create hooks.client.ts: Use init hook for logging app version

This commit is contained in:
IRHM
2025-01-13 00:54:45 +00:00
parent 910695474c
commit e97662314b
2 changed files with 8 additions and 4 deletions
+8
View File
@@ -0,0 +1,8 @@
import type { ClientInit } from "@sveltejs/kit";
export const init: ClientInit = async () => {
console.info(
`%cWATCHARR v${__WATCHARR_VERSION__}`,
"background: white;color: black;font-size: large;padding: 3px 5px;",
);
};
-4
View File
@@ -12,10 +12,6 @@
let { children }: Props = $props();
console.log(
`%cWATCHARR v${__WATCHARR_VERSION__}`,
"background: white;color: black;font-size: large;padding: 3px 5px;",
);
startStoreSaver();
function resetTooltipPos() {