diff --git a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/dropdown-panel.tsx b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/dropdown-panel.tsx index 4c553acc5c..128fe4c88c 100644 --- a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/dropdown-panel.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/dropdown-panel.tsx @@ -38,8 +38,8 @@ export const DropdownPanel = (props: DropdownPanelProps) => { }) useEffect(() => { - update(calldata, header) - }, [calldata, header]) + update(calldata) + }, [calldata]) useEffect(() => { message(dropdownMessage) @@ -99,7 +99,7 @@ export const DropdownPanel = (props: DropdownPanelProps) => { }) } - const update = function (calldata, header) { + const update = function (calldata) { setState(prevState => { return { ...prevState, @@ -179,7 +179,7 @@ export const DropdownPanel = (props: DropdownPanelProps) => { } const title =
-
{dropdownName}
+
{dropdownName}
{ header }
diff --git a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/stack-panel.tsx b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/stack-panel.tsx index 396fc0eb96..c554e747c7 100644 --- a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/stack-panel.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/stack-panel.tsx @@ -2,7 +2,6 @@ import React from 'react' import DropdownPanel from './dropdown-panel' export const StackPanel = ({ calldata }) => { - console.log('calldata: ', calldata) return (
diff --git a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/vm-debugger.tsx b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/vm-debugger.tsx index 367eadc800..fc2e1db86a 100644 --- a/libs/remix-ui/debugger-ui/src/lib/vm-debugger/vm-debugger.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/vm-debugger/vm-debugger.tsx @@ -64,10 +64,10 @@ export const VmDebugger = ({ vmDebuggerLogic, ready }) => {
- {/* */} - {/* */} - {/* */} - {/* */} + + + +
)