diff --git a/src/components/KitchenSink.tsx b/src/components/KitchenSink.tsx index 88833d65..c0302fad 100644 --- a/src/components/KitchenSink.tsx +++ b/src/components/KitchenSink.tsx @@ -466,11 +466,11 @@ function LSPS(props: { initialSettings: MutinyWalletSettingStrings }) { console.log("values", values); try { await sw.change_lsp( - values.lsp ? values.lsp : undefined, + values.lsp ? values.lsp.trim() : undefined, values.lsps_connection_string - ? values.lsps_connection_string + ? values.lsps_connection_string.trim() : undefined, - values.lsps_token ? values.lsps_token : undefined + values.lsps_token ? values.lsps_token.trim() : undefined ); await setSettings(values); window.location.reload();