mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-13 11:45:45 +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)) {
|
if(ob.isValidPatp(ship)) {
|
||||||
checkInput(true, ship);
|
checkInput(true, ship);
|
||||||
} else {
|
} else {
|
||||||
checkInput(ship.length !== 1, undefined)
|
checkInput(ship.length !== 1, undefined)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[checkInput]
|
[checkInput]
|
||||||
@ -90,7 +90,7 @@ export function ShipSearch(props: InviteSearchProps) {
|
|||||||
(s: string) => {
|
(s: string) => {
|
||||||
setTouched(true);
|
setTouched(true);
|
||||||
checkInput(true, undefined);
|
checkInput(true, undefined);
|
||||||
s = `~${deSig(s)}`;
|
s = `${deSig(s)}`;
|
||||||
setSelected(v => _.uniq([...v, s]))
|
setSelected(v => _.uniq([...v, s]))
|
||||||
},
|
},
|
||||||
[setTouched, checkInput, setSelected]
|
[setTouched, checkInput, setSelected]
|
||||||
|
Loading…
Reference in New Issue
Block a user