diff --git a/src/components/UI/BottomBar/index.jsx b/src/components/UI/BottomBar/index.jsx index 986ae9b..00fbde1 100644 --- a/src/components/UI/BottomBar/index.jsx +++ b/src/components/UI/BottomBar/index.jsx @@ -4,6 +4,7 @@ import { TrashIcon, ResetIcon } from "@radix-ui/react-icons"; import "./styles.css"; import { useStore } from "../../../store"; import { PopoverPeopleList } from "../PeopleList"; +import { useUndoRedoShortcut } from "../../../utils"; // import { EDIT_MODE } from "../../../utils"; export const BottomBar = () => { @@ -51,6 +52,8 @@ export const BottomBar = () => { setSelection({}); }; + useUndoRedoShortcut(undo, redo); + return (