From 9933f7cfbd99e60514b0cb65afe781b947fd6a35 Mon Sep 17 00:00:00 2001 From: IlyaDoronin Date: Tue, 12 Mar 2024 16:57:32 +0300 Subject: [PATCH] fix: support --- .../Content/Support/Chat/ChatVideo.tsx | 30 +++++++++---------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/src/pages/dashboard/Content/Support/Chat/ChatVideo.tsx b/src/pages/dashboard/Content/Support/Chat/ChatVideo.tsx index 5fb281f..c11b54d 100644 --- a/src/pages/dashboard/Content/Support/Chat/ChatVideo.tsx +++ b/src/pages/dashboard/Content/Support/Chat/ChatVideo.tsx @@ -1,13 +1,5 @@ -import { - Box, - ButtonBase, - Link, - Typography, - useMediaQuery, - useTheme, -} from "@mui/material"; +import { Box, Typography, useMediaQuery, useTheme } from "@mui/material"; import { useNavigate } from "react-router-dom"; -import { useEffect } from "react"; interface Props { unAuthenticated?: boolean; @@ -26,7 +18,6 @@ export default function ChatImage({ const upMd = useMediaQuery(theme.breakpoints.up("md")); const navigate = useNavigate(); - return ( - - {new Date(createdAt).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })} + + {new Date(createdAt).toLocaleTimeString([], { + hour: "2-digit", + minute: "2-digit", + })}