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:
Maurice
2026-10-25 18:30:27 +01:00
parent b80fdf27f2
commit 44509723fd
5 changed files with 30 additions and 13 deletions
+2 -2
View File
@@ -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;