diff --git a/src/components/molecules/InterpretationLog.tsx b/src/components/molecules/InterpretationLog.tsx index 1fc1acd8..de0c371a 100644 --- a/src/components/molecules/InterpretationLog.tsx +++ b/src/components/molecules/InterpretationLog.tsx @@ -5,6 +5,7 @@ import Highlight from 'react-highlight'; import { useCallback, useEffect, useRef, useState } from "react"; import { useSocketStore } from "../../context/socket"; import { useBrowserDimensionsStore } from "../../context/browserDimensions"; +import { useActionContext } from '../../context/browserActions'; export const InterpretationLog = () => { const [open, setOpen] = useState(false); @@ -13,6 +14,7 @@ export const InterpretationLog = () => { const logEndRef = useRef(null); const { width } = useBrowserDimensionsStore(); + const { getList } = useActionContext(); const toggleDrawer = (newOpen: boolean) => (event: React.KeyboardEvent | React.MouseEvent) => { if (