mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 03:14:30 +03:00
parent
3903ff8ad3
commit
7bbef74ffe
@ -157,7 +157,7 @@ export function ShipSearch<I extends string, V extends Value<I>>(
|
||||
setFieldValue(name(), newValue);
|
||||
};
|
||||
|
||||
const error = _.compact(errors[id] as string[]);
|
||||
const error = _.compact((_.isString(errors[id]) ? [errors[id]] : errors[id] as string[]) as any);
|
||||
|
||||
const isExact = useCallback((s: string) => {
|
||||
const ship = `~${deSig(s)}`;
|
||||
|
Loading…
Reference in New Issue
Block a user