diff --git a/www/src/modals/create-command-modal.jsx b/www/src/modals/create-command-modal.jsx index 548a8f0..288ee49 100644 --- a/www/src/modals/create-command-modal.jsx +++ b/www/src/modals/create-command-modal.jsx @@ -27,7 +27,9 @@ function CreateCommandModal(props) { const isTitleValid = createMemo(() => title().length >= MIN_TITLE_LENGTH); createEffect(() => { - let commandString = commandType() ? Command.CommandTypes[commandType()] : ""; + let commandString = commandType() + ? Command.CommandTypes[commandType()] + : ""; let protocolString = protocol() ? Command.Protocols[protocol()] : ""; setTitle(commandString + " " + protocolString); }); @@ -87,31 +89,15 @@ function CreateCommandModal(props) { Protocol