From 6e98abf22fb3c30663fc70632fd483dbee6dc048 Mon Sep 17 00:00:00 2001 From: pablodanswer Date: Sun, 20 Oct 2024 15:15:28 -0700 Subject: [PATCH] k --- web/src/components/search/results/QuotesSection.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/search/results/QuotesSection.tsx b/web/src/components/search/results/QuotesSection.tsx index f6191ca3f..0ea207270 100644 --- a/web/src/components/search/results/QuotesSection.tsx +++ b/web/src/components/search/results/QuotesSection.tsx @@ -5,7 +5,7 @@ import { useState } from "react"; import { SourceIcon } from "@/components/SourceIcon"; const QuoteDisplay = ({ quoteInfo }: { quoteInfo: Quote }) => { - const [detailIsOpen, setDetailIsOpen] = useState(true); + const [detailIsOpen, setDetailIsOpen] = useState(false); const [copyClicked, setCopyClicked] = useState(false); return ( @@ -16,7 +16,7 @@ const QuoteDisplay = ({ quoteInfo }: { quoteInfo: Quote }) => { }} onMouseLeave={() => setDetailIsOpen(false)} > - {true && ( + {detailIsOpen && (