diff --git a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx index fc4974b38e..a144c8f006 100644 --- a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx @@ -47,7 +47,7 @@ export const DebuggerUI = (props: DebuggerUIProps) => { useEffect(() => { handleResize() - }, ) + }, [state.debugging, state.isActive]) useEffect(() => { window.addEventListener('resize', handleResize) @@ -97,7 +97,7 @@ export const DebuggerUI = (props: DebuggerUIProps) => { } providerChanged() - }, [state.debugger, state.isActive]) + }, [state.debugger]) const listenToEvents = (debuggerInstance, currentReceipt) => { if (!debuggerInstance) return