From fb8eb291c44a347ee06dc11965dea0b0d4e06943 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Mon, 15 Jul 2024 22:12:26 +0200 Subject: [PATCH] bugfixing --- src/routes/+layout.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 406cf737..12fb005c 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -47,7 +47,7 @@ let cloudFrontUrl = import.meta.env.VITE_IMAGE_URL; - const trialLeftDays = addDays(data, 7, ''); + const trialLeftDays = Math?.floor(addDays(data, 7, '')); async function pushNotification() { Notification?.requestPermission()?.then(perm => {