Trim homserver in Auth component
Signed-off-by: ajbura <ajbura@gmail.com>
This commit is contained in:
parent
b008c5f07f
commit
2bd598f7f8
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ function Homeserver({ onChange }) {
|
||||||
const { value } = e.target;
|
const { value } = e.target;
|
||||||
setProcess({ isLoading: false });
|
setProcess({ isLoading: false });
|
||||||
debounce._(async () => {
|
debounce._(async () => {
|
||||||
setHs({ selected: value, list: hs.list });
|
setHs({ selected: value.trim(), list: hs.list });
|
||||||
}, 700)();
|
}, 700)();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue