Skip to content

Commit

Permalink
fix: allow resetting contentInset with 0
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Oct 15, 2024
1 parent 2136ed1 commit 53d0c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/components/MapView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ const MapView = memo(
};

const contentInsetValue = useMemo(() => {
if (!props.contentInset) {
if (props.contentInset === undefined) {
return;
}

Expand Down

0 comments on commit 53d0c06

Please sign in to comment.