mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 19:40:34 +00:00
fix(bookings): keep the review's map status within the complexity and strict-null budgets
The status hides itself for a stay linked to a trip place instead of each form branching around it, and a lookup takes a missing name.
This commit is contained in:
@@ -29,9 +29,9 @@ export function useStayPin() {
|
||||
[]
|
||||
);
|
||||
|
||||
const lookUp = (name: string, address: string | null | undefined) => {
|
||||
const lookUp = (name: string | null | undefined, address: string | null | undefined) => {
|
||||
const mine = ++ticket.current;
|
||||
const queries = stayQueries(name, address);
|
||||
const queries = stayQueries(name ?? '', address);
|
||||
if (isEffectivelyOffline()) {
|
||||
setPin({ status: 'idle' });
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user