Remove droppable from map
This commit is contained in:
parent
aece31f89a
commit
954089fbe5
@ -19,8 +19,6 @@ import TokenDragOverlay from "../token/TokenDragOverlay";
|
|||||||
import NoteMenu from "../note/NoteMenu";
|
import NoteMenu from "../note/NoteMenu";
|
||||||
import NoteDragOverlay from "../note/NoteDragOverlay";
|
import NoteDragOverlay from "../note/NoteDragOverlay";
|
||||||
|
|
||||||
import Droppable from "../Droppable";
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
AddShapeAction,
|
AddShapeAction,
|
||||||
CutShapeAction,
|
CutShapeAction,
|
||||||
@ -340,7 +338,6 @@ function Map({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box sx={{ flexGrow: 1 }}>
|
<Box sx={{ flexGrow: 1 }}>
|
||||||
<Droppable id="map" disabled={!map}>
|
|
||||||
<MapInteraction
|
<MapInteraction
|
||||||
map={map}
|
map={map}
|
||||||
mapState={mapState}
|
mapState={mapState}
|
||||||
@ -365,7 +362,6 @@ function Map({
|
|||||||
{mapPointer}
|
{mapPointer}
|
||||||
{mapMeasure}
|
{mapMeasure}
|
||||||
</MapInteraction>
|
</MapInteraction>
|
||||||
</Droppable>
|
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user