mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-26 23:51:14 +02:00
refactor(citation-panel): remove showHeader prop and enhance close button functionality in CitationPanelContent
This commit is contained in:
parent
b100eda8c6
commit
804e5e42f3
2 changed files with 22 additions and 28 deletions
|
|
@ -100,7 +100,7 @@ const NumericChunkCitation: FC<{ chunkId: number }> = ({ chunkId }) => {
|
|||
<DrawerTitle>Citation</DrawerTitle>
|
||||
</DrawerHeader>
|
||||
<div className="min-h-0 flex-1 flex flex-col overflow-hidden">
|
||||
<CitationPanelContent chunkId={chunkId} showHeader={false} />
|
||||
<CitationPanelContent chunkId={chunkId} />
|
||||
</div>
|
||||
</DrawerContent>
|
||||
</Drawer>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue