mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
Merge pull request #4390 from urbit/lf/search-fixes
ShipSearch: fix incomplete ship entry case
This commit is contained in:
commit
2be1ee807b
@ -162,7 +162,8 @@ export function ShipSearch<I extends string, V extends Value<I>>(
|
||||
<FieldArray
|
||||
name={id}
|
||||
render={(arrayHelpers) => {
|
||||
const onAdd = () => {
|
||||
const onAdd = (ship: string) => {
|
||||
setFieldValue(name(), ship);
|
||||
inputIdx.current += 1;
|
||||
arrayHelpers.push("");
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user