Skip to content

Commit

Permalink
Merge pull request #67 from diggerhq/fix/codeblock
Browse files Browse the repository at this point in the history
fixing codeblock error
  • Loading branch information
motatoes authored Oct 18, 2024
2 parents 8b2a311 + bf20430 commit f51732e
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 f51732e

Please sign in to comment.