From 695843956b075b21bc08c96506911f4673dd2df6 Mon Sep 17 00:00:00 2001 From: abram! <115729028+Not-Abram@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:41:36 -0500 Subject: [PATCH] Fix citation button on Explore page (#170) * Added key to markdown * lint * Updated key to remount the title * lint * Fixed url to be reactive --- packages/viewer/src/components/Shared/Cite.svelte | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/packages/viewer/src/components/Shared/Cite.svelte b/packages/viewer/src/components/Shared/Cite.svelte index edcac00..2717660 100644 --- a/packages/viewer/src/components/Shared/Cite.svelte +++ b/packages/viewer/src/components/Shared/Cite.svelte @@ -1,14 +1,9 @@
@@ -17,7 +12,7 @@ The pi-Base Community. {title}. - Available at: {url} + Available at: {$page.url} (Accessed: {new Date().toISOString().split('T')[0]}).