Skip to content

Commit

Permalink
fixing codeblock error
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Oct 18, 2024
1 parent 8b2a311 commit bf20430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/codeblock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const CodeBlock: FC<Props> = memo(({ language, value }) => {
3,
true,
)}${fileExtension}`;
const fileName = window.prompt("Enter file name" || "", suggestedFileName);
const fileName = window.prompt("Enter file name", suggestedFileName);

if (!fileName) {
// User pressed cancel on prompt.
Expand Down

0 comments on commit bf20430

Please sign in to comment.