Skip to content
Snippets Groups Projects
Unverified Commit 917e8622 authored by Huu Le's avatar Huu Le Committed by GitHub
Browse files

chore: fix ts syntax (#283)

parent e363bfee
No related branches found
No related tags found
No related merge requests found
---
"create-llama": patch
---
Fix errors in building the frontend
...@@ -68,7 +68,7 @@ const CodeBlock: FC<Props> = memo(({ language, value }) => { ...@@ -68,7 +68,7 @@ const CodeBlock: FC<Props> = memo(({ language, value }) => {
3, 3,
true, true,
)}${fileExtension}`; )}${fileExtension}`;
const fileName = window.prompt("Enter file name" || "", suggestedFileName); const fileName = window.prompt("Enter file name", suggestedFileName);
if (!fileName) { if (!fileName) {
// User pressed cancel on prompt. // User pressed cancel on prompt.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment