Skip to content

Commit 940f7b3

Browse files
committed
fix: canBeMissing in BookTravelButton
1 parent 1350024 commit 940f7b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/BookTravelButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function BookTravelButton({text, shouldRenderErrorMessageBelowButton = false, se
5555

5656
const policy = usePolicy(activePolicyID);
5757
const [errorMessage, setErrorMessage] = useState<string | ReactElement>('');
58-
const [travelSettings] = useOnyx(ONYXKEYS.NVP_TRAVEL_SETTINGS, {canBeMissing: false});
58+
const [travelSettings] = useOnyx(ONYXKEYS.NVP_TRAVEL_SETTINGS, {canBeMissing: true});
5959
const [sessionEmail] = useOnyx(ONYXKEYS.SESSION, {selector: (session) => session?.email, canBeMissing: false});
6060
const primaryContactMethod = primaryLogin ?? sessionEmail ?? '';
6161
const {isBlockedFromSpotnanaTravel, isBetaEnabled} = usePermissions();

0 commit comments

Comments
 (0)