From c5d9357b5fec1b2404228e1c29303215a9c024d1 Mon Sep 17 00:00:00 2001 From: Jose Othon Date: Fri, 30 Aug 2024 22:27:58 -0300 Subject: [PATCH] [fix]: pdf link --- src/pages/Chat/FullPageChat/FullPageChat.jsx | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/pages/Chat/FullPageChat/FullPageChat.jsx b/src/pages/Chat/FullPageChat/FullPageChat.jsx index 550e67a..6f04cec 100644 --- a/src/pages/Chat/FullPageChat/FullPageChat.jsx +++ b/src/pages/Chat/FullPageChat/FullPageChat.jsx @@ -35,24 +35,21 @@ export function FullPageChat(props) { > {message.type === "pdf" ? (

- Alternative text - include a link{" "} - - to the PDF! + Casso o PDF não carregue, utilize o link + abaixo:
+
+ {location.origin + + "/documents/mercury-presentation.pdf"}

) : ( - //