From 2c17fef178a3e08c548970d8b2e495f2b3bfb97a Mon Sep 17 00:00:00 2001 From: 0xIchigo <0xIchigo@protonmail.com> Date: Fri, 8 Dec 2023 00:59:12 -0500 Subject: [PATCH] Fix View Media Button --- src/lib/components/log-messages.svelte | 4 +- src/routes/token/[token]/+page.svelte | 59 +++++++++++++------------- 2 files changed, 32 insertions(+), 31 deletions(-) diff --git a/src/lib/components/log-messages.svelte b/src/lib/components/log-messages.svelte index 6ed32e25..c4e03973 100644 --- a/src/lib/components/log-messages.svelte +++ b/src/lib/components/log-messages.svelte @@ -20,7 +20,9 @@ ); // Check if there is at least one entry with non-empty logs - const hasNonEmptyLogs = parsedLogs.some(instruction => instruction.logs.length > 0); + const hasNonEmptyLogs = parsedLogs.some( + (instruction) => instruction.logs.length > 0 + );