diff --git a/code/frontend/src/components/interactive/BoxConditionMap.js b/code/frontend/src/components/interactive/BoxConditionMap.js index cc2c173..9431820 100644 --- a/code/frontend/src/components/interactive/BoxConditionMap.js +++ b/code/frontend/src/components/interactive/BoxConditionMap.js @@ -81,7 +81,7 @@ export default function BoxConditionMap({ ...props }) { map.off("zoom", onZoom) } }, - [map], + [map, onMove, onZoom], ) const onButtonClick = () => { diff --git a/code/frontend/src/components/interactive/BoxRepositoryCreate.js b/code/frontend/src/components/interactive/BoxRepositoryCreate.js index e558253..b47b132 100644 --- a/code/frontend/src/components/interactive/BoxRepositoryCreate.js +++ b/code/frontend/src/components/interactive/BoxRepositoryCreate.js @@ -3,7 +3,7 @@ import BoxFull from "../base/BoxFull" import FormLabelled from "../base/FormLabelled" import FormLabel from "../base/formparts/FormLabel" import InputWithIcon from "../base/InputWithIcon" -import { faFolder, faPencilAlt, faPlus } from "@fortawesome/free-solid-svg-icons" +import { faBackward, faFolder, faPencilAlt, faPlus } from "@fortawesome/free-solid-svg-icons" import Radio from "../base/Radio" import Button from "../base/Button" import useRepositoryEditor from "../../hooks/useRepositoryEditor" @@ -27,6 +27,7 @@ export default function BoxRepositoryCreate({ ...props }) { name, setName, save, + revert, error, } = useRepositoryEditor() @@ -55,7 +56,7 @@ export default function BoxRepositoryCreate({ ...props }) { onChange={() => setEvaluationMode(0)} checked={evaluationMode === 0} /> - At least one filter + One filter