diff --git a/pkg/interface/src/views/components/ShipSearch.tsx b/pkg/interface/src/views/components/ShipSearch.tsx index bc191fc38c..f26ed4253f 100644 --- a/pkg/interface/src/views/components/ShipSearch.tsx +++ b/pkg/interface/src/views/components/ShipSearch.tsx @@ -64,6 +64,8 @@ export function ShipSearch(props: InviteSearchProps) { if(valid) { setInputShip(ship); setError(error === INVALID_SHIP_ERR ? undefined : error); + } else if (ship === undefined) { + return; } else { setError(INVALID_SHIP_ERR); setInputTouched(false);