Skip to content

Commit

Permalink
Trim LSP urls
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman authored and TonyGiorgio committed Jun 11, 2024
1 parent 069adb5 commit 77df9de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/KitchenSink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 77df9de

Please sign in to comment.