chore: fix ts syntax (#283)

This commit is contained in:
Huu Le
2024-09-10 10:17:29 +07:00
committed by GitHub
parent e363bfeecc
commit 917e862202
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"create-llama": patch
---
Fix errors in building the frontend
@@ -68,7 +68,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.