mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-12 15:01:38 +03:00
shipsearch: return patp without sigs
This commit is contained in:
parent
8c313eba67
commit
b60487ada0
@ -76,7 +76,7 @@ export function ShipSearch(props: InviteSearchProps) {
|
||||
if(ob.isValidPatp(ship)) {
|
||||
checkInput(true, ship);
|
||||
} else {
|
||||
checkInput(ship.length !== 1, undefined)
|
||||
checkInput(ship.length !== 1, undefined)
|
||||
}
|
||||
},
|
||||
[checkInput]
|
||||
@ -90,7 +90,7 @@ export function ShipSearch(props: InviteSearchProps) {
|
||||
(s: string) => {
|
||||
setTouched(true);
|
||||
checkInput(true, undefined);
|
||||
s = `~${deSig(s)}`;
|
||||
s = `${deSig(s)}`;
|
||||
setSelected(v => _.uniq([...v, s]))
|
||||
},
|
||||
[setTouched, checkInput, setSelected]
|
||||
|
Loading…
Reference in New Issue
Block a user