fix svelte warning
This commit is contained in:
1 parent
cba04f482c
commit
c5673f1ad4
1 file changed
+9
-7
@@ -7,13 +7,15 @@
|
||||
|
||||
let { end }: Props = $props();
|
||||
|
||||
const title = `Spielstart ist am ${end.toLocaleString('de-DE', {
|
||||
day: '2-digit',
|
||||
month: 'long',
|
||||
year: 'numeric',
|
||||
hour: '2-digit',
|
||||
minute: '2-digit'
|
||||
})} Uhr`;
|
||||
let title = $derived(
|
||||
`Spielstart ist am ${end.toLocaleString('de-DE', {
|
||||
day: '2-digit',
|
||||
month: 'long',
|
||||
year: 'numeric',
|
||||
hour: '2-digit',
|
||||
minute: '2-digit'
|
||||
})} Uhr`
|
||||
);
|
||||
|
||||
function getUntil(): [number, number, number, number] {
|
||||
const now = new Date();
|
||||
|
||||
Reference in new issue
Block a user