aboutsummaryrefslogtreecommitdiff
path: root/src/routes/hololive
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-02-07 03:37:19 -0800
committerFuwn <[email protected]>2024-02-07 03:37:19 -0800
commit2fe7c1112383b2f0d8e66a3494c62f262031ec1e (patch)
treed32ab93ce0c2969c736eff5b5f86a2e23928d3c2 /src/routes/hololive
parentfeat(hololive): add try again button (diff)
downloaddue.moe-2fe7c1112383b2f0d8e66a3494c62f262031ec1e.tar.xz
due.moe-2fe7c1112383b2f0d8e66a3494c62f262031ec1e.zip
fix(hololive): call reload directly
Diffstat (limited to 'src/routes/hololive')
-rw-r--r--src/routes/hololive/+page.svelte6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/routes/hololive/+page.svelte b/src/routes/hololive/+page.svelte
index 1dd05905..18f94a4a 100644
--- a/src/routes/hololive/+page.svelte
+++ b/src/routes/hololive/+page.svelte
@@ -98,7 +98,9 @@
</div>
{:catch}
<Message message="" loader="ripple" slot>
- Could not parse schedule. Please <a href={'#'} on:click={location.reload}>try again</a> later.
+ Could not parse schedule. Please <a href={'#'} on:click={() => location.reload()}
+ >try again</a
+ > later.
</Message>
{/await}
{:else}
@@ -108,7 +110,7 @@
{/if}
{:catch}
<Message message="" loader="ripple" slot>
- Could not load schedule. Please <a href={'#'} on:click={location.reload}>try again</a> later.
+ Could not load schedule. Please <a href={'#'} on:click={() => location.reload()}>try again</a> later.
</Message>
{/await}