We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9374d3e commit 8495e42Copy full SHA for 8495e42
src/app/pdf/[id]/page.tsx
@@ -74,10 +74,7 @@ export default function PDFViewerPage() {
74
<div className="flex items-center gap-4">
75
<Link
76
href="/"
77
- onClick={() => {
78
- setText('');
79
- stop();
80
- }}
+ onClick={() => {clearCurrDoc(); stop();}}
81
className="inline-flex items-center px-3 py-1 bg-base text-foreground rounded-lg hover:bg-offbase transition-colors"
82
>
83
<svg className="w-4 h-4 mr-2 text-muted" fill="none" stroke="currentColor" viewBox="0 0 24 24">
0 commit comments