Skip to content

Commit b678f67

Browse files
committed
visualizer: rename "Created" to "In Mempool"
1 parent 2b24a49 commit b678f67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/src/components/Transactions/TransactionsView.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ export const TransactionsView: FC = ({ }) => {
1717
const seconds = Math.floor(data.timestamp % 60);
1818
return {
1919
Time: minutes ? `${minutes}m${seconds}s` : `${seconds}s`,
20-
"Created": data.created,
20+
"In Mempool": data.created,
2121
"In Input Block": data.inIb,
2222
"In Endorser Block": data.inEb,
2323
"On Chain": data.onChain,
2424
};
2525
})
2626
}, [transactions]);
2727

28-
const tooltipOrderer = ["Created", "In Input Block", "In Endorser Block", "On Chain"];
28+
const tooltipOrderer = ["In Mempool", "In Input Block", "In Endorser Block", "On Chain"];
2929

3030
return (
3131
<div className="flex flex-col w-full h-4/5 items-center justify-center">
@@ -38,7 +38,7 @@ export const TransactionsView: FC = ({ }) => {
3838
<Area type="monotone" dataKey="On Chain" stackId="1" isAnimationActive={false} stroke="#9e0142" fill="#9e0142" />
3939
<Area type="monotone" dataKey="In Endorser Block" stackId="1" isAnimationActive={false} stroke="#d0394e" fill="#d0394e" />
4040
<Area type="monotone" dataKey="In Input Block" stackId="1" isAnimationActive={false} stroke="#ef6445" fill="#ef6445" />
41-
<Area type="monotone" dataKey="Created" stackId="1" isAnimationActive={false} stroke="#fb9d56" fill="#fb9d56" />
41+
<Area type="monotone" dataKey="In Mempool" stackId="1" isAnimationActive={false} stroke="#fb9d56" fill="#fb9d56" />
4242
</AreaChart>
4343
</ResponsiveContainer>
4444
</div>

0 commit comments

Comments
 (0)