Skip to content

Commit

Permalink
Merge branch 'main' of github.com:diggerhq/next
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Oct 18, 2024
2 parents b22a730 + f51732e commit 22ee1ee
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 22ee1ee

Please sign in to comment.