Skip to content

Commit

Permalink
fix: change of block producer icon
Browse files Browse the repository at this point in the history
  • Loading branch information
cfuisat committed May 14, 2024
1 parent f3913cc commit 019c104
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/commons/resources/icons/block-producer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/commons/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ import CubeIconComponent from "./icons/blockIcon.svg?react";
import TxConfirm from "./icons/txConfirm.svg?react";
import SlotIcon from "./icons/slot.svg?react";
import KingIcon from "./icons/king-icon.svg?react";
import BlockProducerIcon from "./icons/block-producer.svg?react";
import TooltipIcon from "./icons/tooltip-icon.svg?react";
import TxInputIcon from "./icons/txInput.svg?react";
import TxOutputIcon from "./icons/txOutput.svg?react";
Expand Down Expand Up @@ -378,6 +379,7 @@ export {
PolygonDarkRedIcon,
CubeIconComponent,
KingIcon,
BlockProducerIcon,
TooltipIcon,
SlotIcon,
TimeIconComponent,
Expand Down
4 changes: 2 additions & 2 deletions src/components/BlockDetail/BlockOverview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
OutputIcon,
CubeIconComponent,
SlotIcon,
KingIcon,
BlockProducerIcon,
TooltipIcon
} from "src/commons/resources";
import { formatADAFull, formatDateTimeLocal, formatNameBlockNo } from "src/commons/utils/helper";
Expand Down Expand Up @@ -119,7 +119,7 @@ const BlockOverview: React.FC<BlockOverviewProps> = ({ data, loading, lastUpdate
value: `${data?.epochSlotNo || ""} - ${data?.slotNo || ""}`
},
{
icon: KingIcon,
icon: BlockProducerIcon,
title: (
<Box display={"flex"} alignItems={"center"}>
<Box display={"flex"} alignItems="center">
Expand Down

0 comments on commit 019c104

Please sign in to comment.