diff --git a/src/lib/components/symmetric-input-output.svelte b/src/lib/components/symmetric-input-output.svelte index 672efc5..95090d0 100644 --- a/src/lib/components/symmetric-input-output.svelte +++ b/src/lib/components/symmetric-input-output.svelte @@ -56,7 +56,10 @@ inputLog = ""; if (value) { - ({ output: inputText, log: outputLog } = handleErrors(from, value)); + const result = handleErrors(from, value); + if (result.output) { + ({ output: inputText, log: outputLog } = result); + } } else { inputText = ""; outputLog = "";