From 5fcb33263d9d37ef9767c7900ad30d6909f53bf0 Mon Sep 17 00:00:00 2001 From: FromTheLOLAshes <153381408+FromTheLOLAshes@users.noreply.github.com> Date: Tue, 7 May 2024 13:38:12 -0400 Subject: [PATCH] Fix url for view on media page (#328) Co-authored-by: Christopher Oliphant --- app/pages/PageEnigma/comps/GenerateModals/Sharing.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/pages/PageEnigma/comps/GenerateModals/Sharing.tsx b/app/pages/PageEnigma/comps/GenerateModals/Sharing.tsx index 305e90807a..708b97bb02 100644 --- a/app/pages/PageEnigma/comps/GenerateModals/Sharing.tsx +++ b/app/pages/PageEnigma/comps/GenerateModals/Sharing.tsx @@ -28,7 +28,6 @@ export function Sharing({ mediaFile, setMediaFile }: Props) { const shareText = "Check out this media on StoryTeller.ai"; const [buttonLabel, setButtonLabel] = useState("Copy"); const downloadLink = `${environmentVariables.value.GOOGLE_API}/vocodes-public${mediaFile?.public_bucket_path}`; - const openUrl = `/media/${mediaFile.token}`; const handleCopyLink = () => { if (navigator.clipboard) { @@ -130,7 +129,7 @@ export function Sharing({ mediaFile, setMediaFile }: Props) {