Skip to content

Commit f8f6e41

Browse files
fixed build errors, removed unused files
1 parent 39c7081 commit f8f6e41

File tree

2 files changed

+1
-157
lines changed

2 files changed

+1
-157
lines changed

src/app/paper/[id]/backup.tsx

Lines changed: 0 additions & 156 deletions
This file was deleted.

src/components/pdfViewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default function PdfViewer({ url }: PdfViewerProps) {
6868
<div className="hidden gap-x-4 md:flex md:items-center">
6969
<getFilePluginInstance.Download>
7070
{(props) => (
71-
<button className="" onClick={props.onClick}>
71+
<button className="" onClick={() => props.onClick()}>
7272
<Download />
7373
</button>
7474
)}

0 commit comments

Comments
 (0)