Fix warnings
This commit is contained in:
parent
002a52674b
commit
9370365ab4
@ -27,7 +27,6 @@ import {
|
||||
getRelativePointerPosition,
|
||||
} from "../../helpers/konva";
|
||||
|
||||
import useDebounce from "../../hooks/useDebounce";
|
||||
import useSetting from "../../hooks/useSetting";
|
||||
|
||||
function MapFog({
|
||||
|
@ -1,4 +1,4 @@
|
||||
import React, { useContext, useCallback } from "react";
|
||||
import React, { useContext } from "react";
|
||||
|
||||
import Vector2 from "../helpers/Vector2";
|
||||
import Size from "../helpers/Size";
|
||||
|
@ -1,5 +1,6 @@
|
||||
import React, { useState, useEffect, useRef } from "react";
|
||||
import { Line, Group, Path, Circle } from "react-konva";
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
import Konva from "konva";
|
||||
import Color from "color";
|
||||
import Vector2 from "./Vector2";
|
||||
|
@ -45,7 +45,7 @@ function EditMapModal({ isOpen, onDone, mapId }) {
|
||||
setMap();
|
||||
setMapState();
|
||||
}
|
||||
}, [isOpen, mapId, getMapFromDB, mapStates]);
|
||||
}, [isOpen, mapId, getMapFromDB, mapStates, getMap]);
|
||||
|
||||
function handleClose() {
|
||||
setMapSettingChanges({});
|
||||
|
Loading…
x
Reference in New Issue
Block a user