diff --git a/src/components/app.tsx b/src/components/app.tsx index d4b38eb..f64653b 100644 --- a/src/components/app.tsx +++ b/src/components/app.tsx @@ -301,6 +301,9 @@ export const App = () => { const onPlayClick = generationMode === "playing" ? handlePause : (generationMode === "paused" ? handleResume : handlePlay); + const delimiterIsSpace = delimiter === " "; + const delimiterValue = delimiterIsSpace ? "" : delimiter; + const delimiterPlaceholder = delimiterIsSpace ? "(space)" : "(none)"; return (