projects
/
rainny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b008c5f
)
Trim homserver in Auth component
author
ajbura
<ajbura@gmail.com>
Fri, 4 Feb 2022 06:13:39 +0000
(11:43 +0530)
committer
ajbura
<ajbura@gmail.com>
Fri, 4 Feb 2022 06:13:39 +0000
(11:43 +0530)
Signed-off-by: ajbura <ajbura@gmail.com>
src/app/templates/auth/Auth.jsx
patch
|
blob
|
history
diff --git
a/src/app/templates/auth/Auth.jsx
b/src/app/templates/auth/Auth.jsx
index ceaf9f7d07cf0ec998e34b19f73b85aa27c6725c..33d2152f9f3b3bef7058b099c6aa420045a9dd48 100644
(file)
--- a/
src/app/templates/auth/Auth.jsx
+++ b/
src/app/templates/auth/Auth.jsx
@@
-106,7
+106,7
@@
function Homeserver({ onChange }) {
const { value } = e.target;
setProcess({ isLoading: false });
debounce._(async () => {
- setHs({ selected: value, list: hs.list });
+ setHs({ selected: value
.trim()
, list: hs.list });
}, 700)();
};