mirror of
https://github.com/sbondCo/Watcharr.git
synced 2026-08-07 07:14:44 +00:00
Create hooks.client.ts: Use init hook for logging app version
This commit is contained in:
@@ -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;",
|
||||
);
|
||||
};
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user