Skip to content

Commit e794f29

Browse files
committed
Rename tBTC stats component
`DefaultProtocolHistory` -> `ProtocolHistory`
1 parent 64fbb14 commit e794f29

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/components/tBTC/Stats.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ export const ProtocolHistoryRecentDeposits: FC<RecentDepositsProps> = ({
5151
...restProps
5252
}) => <RecentDeposits deposits={deposits} {...restProps} />
5353

54-
export const DefaultProtocolHistory: FC<ProtocolHistoryProps> = ({
55-
deposits,
56-
}) => {
54+
export const ProtocolHistory: FC<ProtocolHistoryProps> = ({ deposits }) => {
5755
return (
5856
<>
5957
<ProtocolHistoryTitle />

src/pages/Overview/Network/tBTCBridgeStats.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { FC } from "react"
22
import { Card, Divider, LabelSm } from "@threshold-network/components"
33
import {
4-
DefaultProtocolHistory,
4+
ProtocolHistory,
55
ProtocolHistoryProps,
66
TVL,
77
TVLProps,
@@ -19,7 +19,7 @@ export const TBTCBrdigeStats: FC<TBTCBrdigeStatsProps> = ({
1919
<LabelSm mb="4">tBTC Bridge Stats</LabelSm>
2020
<TVL tvl={tvl} tvlInUSD={tvlInUSD} />
2121
<Divider my="6" />
22-
<DefaultProtocolHistory deposits={deposits} />
22+
<ProtocolHistory deposits={deposits} />
2323
</Card>
2424
)
2525
}

0 commit comments

Comments
 (0)