From 56b00a57a088b32b3bde66bae824ff5666563598 Mon Sep 17 00:00:00 2001 From: IlyaDoronin Date: Wed, 29 May 2024 15:25:33 +0300 Subject: [PATCH] fix: urls --- src/components/FloatingSupportChat/ChatDocument.tsx | 6 +++--- src/components/FloatingSupportChat/ChatImage.tsx | 6 +++--- src/components/FloatingSupportChat/ChatVideo.tsx | 4 +++- src/pages/Support/ChatImageNewWindow.tsx | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/components/FloatingSupportChat/ChatDocument.tsx b/src/components/FloatingSupportChat/ChatDocument.tsx index c358755..a506854 100644 --- a/src/components/FloatingSupportChat/ChatDocument.tsx +++ b/src/components/FloatingSupportChat/ChatDocument.tsx @@ -21,8 +21,8 @@ export default function ChatDocument({ const messageBackgroundColor = isSelf ? "white" : unAuthenticated - ? "#EFF0F5" - : "#434657"; + ? "#EFF0F5" + : "#434657"; const date = new Date(createdAt); const today = isDateToday(date); @@ -98,7 +98,7 @@ export default function ChatDocument({ diff --git a/src/components/FloatingSupportChat/ChatVideo.tsx b/src/components/FloatingSupportChat/ChatVideo.tsx index 153e6b9..424be19 100644 --- a/src/components/FloatingSupportChat/ChatVideo.tsx +++ b/src/components/FloatingSupportChat/ChatVideo.tsx @@ -113,7 +113,9 @@ export default function ChatImage({ }} controls > - + diff --git a/src/pages/Support/ChatImageNewWindow.tsx b/src/pages/Support/ChatImageNewWindow.tsx index 86c2a2e..89e2260 100644 --- a/src/pages/Support/ChatImageNewWindow.tsx +++ b/src/pages/Support/ChatImageNewWindow.tsx @@ -12,7 +12,7 @@ export default function ChatImageNewWindow() { maxHeight: "100vh", maxWidth: "100vw", }} - src={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/pair/${srcImage}`} + src={`https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud/angesight/pair/${srcImage}`} /> );