diff --git a/src/special/london/Blocks.tsx b/src/special/london/Blocks.tsx index 7dc5f9a..441aa05 100644 --- a/src/special/london/Blocks.tsx +++ b/src/special/london/Blocks.tsx @@ -61,7 +61,7 @@ type BlocksProps = { const Blocks: React.FC = ({ latestBlock, targetBlockNumber }) => { const { provider } = useContext(RuntimeContext); - const [blocks, setBlock] = useState([]); + const [blocks, setBlocks] = useState([]); const [now, setNow] = useState(Date.now()); const addBlock = useCallback( @@ -77,7 +77,7 @@ const Blocks: React.FC = ({ latestBlock, targetBlockNumber }) => { const extBlock = await readBlock(provider, blockNumber.toString()); setNow(Date.now()); - setBlock((_blocks) => { + setBlocks((_blocks) => { if (_blocks.length > 0 && blockNumber === _blocks[0].number) { return _blocks; }