mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-17 06:14:21 +01:00
Trim LSP urls
This commit is contained in:
committed by
Tony Giorgio
parent
069adb57fd
commit
77df9deae7
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user