diff --git a/src/App.tsx b/src/App.tsx index 3ab1c3f..f029428 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -21,7 +21,7 @@ export default function UUIDGenerator() { }); }, [uuid]); - const cmd = `curl -s -w "\n" https://uuid.new`; + const cmd = 'curl -s -w "\\n" https://uuid.new'; const copyShellCommand = useCallback(() => { navigator.clipboard.writeText(cmd).then(() => { setShellCopied(true);