pull/5370/head
lianahus 2 years ago committed by Aniket
parent 55f303a1dd
commit 31d86bde07
  1. 4
      libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx

@ -47,7 +47,7 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
useEffect(() => { useEffect(() => {
handleResize() handleResize()
}, ) }, [state.debugging, state.isActive])
useEffect(() => { useEffect(() => {
window.addEventListener('resize', handleResize) window.addEventListener('resize', handleResize)
@ -97,7 +97,7 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
} }
providerChanged() providerChanged()
}, [state.debugger, state.isActive]) }, [state.debugger])
const listenToEvents = (debuggerInstance, currentReceipt) => { const listenToEvents = (debuggerInstance, currentReceipt) => {
if (!debuggerInstance) return if (!debuggerInstance) return

Loading…
Cancel
Save