Skip to content

Commit

Permalink
fix(website): copy error to clipboard button (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengelniederhammer authored Dec 20, 2024
1 parent 8807980 commit 5d11264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/components/ErrorReportInstruction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function CopyToClipboardButton({ getTextToCopy }: { getTextToCopy: () => string
{copiedRecently ? (
<span className='iconify text-2xl text-green mdi--tick' />
) : (
<button className='iconify text-xl mdi--content-copy' onClick={void onCopy} />
<button className='iconify text-xl mdi--content-copy' onClick={() => void onCopy()} />
)}
</div>
);
Expand Down

0 comments on commit 5d11264

Please sign in to comment.