diff --git a/src/layouts/components/Editor/extensions/Details/IsomerDetailGroupView.tsx b/src/layouts/components/Editor/extensions/Details/IsomerDetailGroupView.tsx index 69fc435d4b..8734fccaef 100644 --- a/src/layouts/components/Editor/extensions/Details/IsomerDetailGroupView.tsx +++ b/src/layouts/components/Editor/extensions/Details/IsomerDetailGroupView.tsx @@ -1,8 +1,6 @@ import { Box, HStack, Icon, IconButton, Tooltip } from "@chakra-ui/react" import { NodeViewContent, NodeViewProps } from "@tiptap/react" -import { BiPencil, BiPlus, BiTrash } from "react-icons/bi" - -import { useEditorDrawerContext } from "contexts/EditorDrawerContext" +import { BiPlus, BiTrash } from "react-icons/bi" import { BlockWrapper } from "../../components/BlockWrapper" @@ -16,11 +14,6 @@ export const IsomerDetailGroupView = ({ const activePos = editor.state.selection.anchor const selected = activePos >= startPos && activePos <= endPos - const { onDrawerOpen } = useEditorDrawerContext() - - // todo: get drawer reviewed in staging - const isProd = process.env.REACT_APP_ENV === "production" - const otherButtons = ( <> - {!isProd && ( - - - - - - )} -