Lint
This commit is contained in:
parent
94f9c0d594
commit
5c3b87f2d5
69 changed files with 1334 additions and 213 deletions
|
|
@ -415,10 +415,13 @@ export default function MapPage({
|
|||
[consumePendingCurrentLocationFlyTo, handleCurrentLocationSearch, isMobile]
|
||||
);
|
||||
|
||||
const handleMobileDrawerPanelRectChange = useCallback((rect: DOMRectReadOnly) => {
|
||||
mobileDrawerPanelRectRef.current = rect;
|
||||
consumePendingCurrentLocationFlyTo(rect);
|
||||
}, [consumePendingCurrentLocationFlyTo]);
|
||||
const handleMobileDrawerPanelRectChange = useCallback(
|
||||
(rect: DOMRectReadOnly) => {
|
||||
mobileDrawerPanelRectRef.current = rect;
|
||||
consumePendingCurrentLocationFlyTo(rect);
|
||||
},
|
||||
[consumePendingCurrentLocationFlyTo]
|
||||
);
|
||||
|
||||
const handleMobileDrawerClose = useCallback(() => {
|
||||
pendingCurrentLocationFlyToRef.current = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue