Skip to content

Commit

Permalink
improve typing
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysse-bouchet committed Feb 6, 2025
1 parent cb6e09b commit 0f5cb7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/layout/Timer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
};
onMount(() => {
if ($endTimestamp < Date.now()) {
if ($endTimestamp < Date.now() && $config) {
// Reset timer and terms of use status
$endTimestamp = Date.now() + ($config.features.queue.session_duration * SECOND);
$termsOfUse.accepted = false;
Expand Down

0 comments on commit 0f5cb7d

Please sign in to comment.