|
|
@ -8,7 +8,7 @@ export const AssemblyItems = ({ registerEvent }) => { |
|
|
|
const refs = useRef({}) |
|
|
|
const refs = useRef({}) |
|
|
|
const asmItemsRef = useRef(null) |
|
|
|
const asmItemsRef = useRef(null) |
|
|
|
|
|
|
|
|
|
|
|
useEffect(()=>{ |
|
|
|
useEffect(() => { |
|
|
|
registerEvent && registerEvent('codeManagerChanged', (code, address, index) => { |
|
|
|
registerEvent && registerEvent('codeManagerChanged', (code, address, index) => { |
|
|
|
dispatch({ type: 'FETCH_OPCODES_SUCCESS', payload: { code, address, index } }) |
|
|
|
dispatch({ type: 'FETCH_OPCODES_SUCCESS', payload: { code, address, index } }) |
|
|
|
}) |
|
|
|
}) |
|
|
|