diff --git a/src/special/london/BlockRecord.tsx b/src/special/london/BlockRow.tsx similarity index 92% rename from src/special/london/BlockRecord.tsx rename to src/special/london/BlockRow.tsx index 1b23e65..890446c 100644 --- a/src/special/london/BlockRecord.tsx +++ b/src/special/london/BlockRow.tsx @@ -6,12 +6,12 @@ import { ExtendedBlock } from "../../useErigonHooks"; const ELASTICITY_MULTIPLIER = 2; -type BlockRecordProps = { +type BlockRowProps = { now: number; block: ExtendedBlock; }; -const BlockRecord: React.FC = ({ now, block }) => { +const BlockRow: React.FC = ({ now, block }) => { const gasTarget = block.gasLimit.div(ELASTICITY_MULTIPLIER); const burntFees = block?.baseFeePerGas && block.baseFeePerGas.mul(block.gasUsed); @@ -57,4 +57,4 @@ const BlockRecord: React.FC = ({ now, block }) => { ); }; -export default React.memo(BlockRecord); +export default React.memo(BlockRow); diff --git a/src/special/london/Blocks.tsx b/src/special/london/Blocks.tsx index c7f5bb5..3e9732f 100644 --- a/src/special/london/Blocks.tsx +++ b/src/special/london/Blocks.tsx @@ -10,7 +10,7 @@ import { faCube, faGasPump, } from "@fortawesome/free-solid-svg-icons"; -import BlockRecord from "./BlockRecord"; +import BlockRow from "./BlockRow"; import { ExtendedBlock, readBlock } from "../../useErigonHooks"; import { RuntimeContext } from "../../useRuntime"; @@ -137,7 +137,7 @@ const Blocks: React.FC = ({ latestBlock }) => { leaveFrom="opacity-100 translate-y-0" leaveTo="opacity-0 translate-y-10" > - + ))}