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 779c5c0 commit dbf47ccCopy full SHA for dbf47cc
frontend/pages/DisplayPaste.tsx
@@ -159,7 +159,7 @@ export function DisplayPaste() {
159
{pasteFile && (
160
<Tooltip content={`Download as file`}>
161
<Button aria-label="Download" isIconOnly className={buttonClasses}>
162
- <a href={URL.createObjectURL(pasteFile)}>
+ <a href={URL.createObjectURL(pasteFile)} download={pasteFile.name}>
163
<DownloadIcon className="size-6 inline" />
164
</a>
165
</Button>
0 commit comments