mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-25 08:33:23 +00:00
Extra spaces not handled properly in input field of recovery token
This commit is contained in:
@ -26,7 +26,7 @@ const RecoveryDialog = ({ setInputToken, setView }: Props): JSX.Element => {
|
||||
|
||||
const onClickRecover = () => {
|
||||
garage.createRobot(federation, recoveryToken);
|
||||
setInputToken(recoveryToken);
|
||||
setInputToken(recoveryToken.trim());
|
||||
setView('profile');
|
||||
setOpen((open) => {
|
||||
return { ...open, recovery: false };
|
||||
|
Reference in New Issue
Block a user