Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
{
"name": "TVL by Protocol",
"route": "/",
"route": "/#protocolRankings",
"category": "Total Value Locked",
"description": "Protocols ranked by Total Value Locked in their smart contracts",
"totalTrackedKey": "tvl.protocols",
Expand Down
2 changes: 1 addition & 1 deletion src/containers/ChainOverview/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ export const ChainProtocolsTable = ({
}, [instance, router.query.chain])

return (
<div className={borderless ? 'isolate' : 'isolate rounded-md border border-(--cards-border) bg-(--cards-bg)'}>
<div id='protocolRankings' className={borderless ? 'isolate' : 'isolate rounded-md border border-(--cards-border) bg-(--cards-bg)'}>
<div className="flex flex-wrap items-center justify-end gap-2 p-3">
{borderless ? null : (
<div className="mr-auto flex w-full grow text-lg font-semibold md:w-auto">Protocol Rankings</div>
Expand Down
1 change: 1 addition & 0 deletions src/containers/ChainOverview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export function ChainOverview(props: IChainOverviewData) {
<Suspense
fallback={
<div
id='protocolRankings'
style={{ minHeight: `${props.protocols.length * 50 + 200}px` }}
className="rounded-md border border-(--cards-border) bg-(--cards-bg)"
/>
Expand Down