Skip to content

Commit

Permalink
using version 1 of quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
lumi-tip committed Dec 11, 2024
1 parent ebadfc2 commit 978562f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/common/components/MarkDownParser/MDComponents/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<QuoteVersion1>
Expand Down

0 comments on commit 978562f

Please sign in to comment.