From 978562fde13c5ed39c5f5f38948b81bcd52a321c Mon Sep 17 00:00:00 2001 From: lumi-tip Date: Wed, 11 Dec 2024 17:26:21 -0400 Subject: [PATCH] using version 1 of quotes --- src/common/components/MarkDownParser/MDComponents/index.jsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/common/components/MarkDownParser/MDComponents/index.jsx b/src/common/components/MarkDownParser/MDComponents/index.jsx index 6e050e7ac..385606b1b 100644 --- a/src/common/components/MarkDownParser/MDComponents/index.jsx +++ b/src/common/components/MarkDownParser/MDComponents/index.jsx @@ -286,11 +286,7 @@ function QuoteVersion4({ ...props }) { ); } export function Quote({ children }) { - const [version, setVersion] = useState(2); - - useEffect(() => { - setVersion(Math.floor(Math.random() * 4) + 1); - }, []); + const version = 1; if (version === 1 && children.length > 0) { return (