Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Jul 22, 2024
1 parent 01e7768 commit 294b9cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/viewer/components/MapContextProvider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default function MapContextProvider({ mapSlug, children }) {
);

const flyToLayer = useMemo(() => {
if (!config.zoom_to_extend) {
if (!config.zoom_to_extent) {
return null;
}
return (layer) => {
Expand All @@ -139,7 +139,7 @@ export default function MapContextProvider({ mapSlug, children }) {
}, [config]);

const flyToBounds = useMemo(() => {
if (!config.zoom_to_extend) {
if (!config.zoom_to_extent) {
return null;
}
return (bounds) => {
Expand Down

0 comments on commit 294b9cf

Please sign in to comment.