mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-17 21:32:36 +01:00
k
This commit is contained in:
parent
b4b9239a1d
commit
6e98abf22f
@ -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 && (
|
||||
<div className="absolute top-0 mt-9 pt-2 z-50">
|
||||
<div className="flex flex-shrink-0 rounded-lg break-words hyphens-auto w-96 bg-background border border-border shadow p-3 text-sm leading-relaxed overflow-hidden">
|
||||
<div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user