Skip to content

Commit 42dd793

Browse files
authored
Merge pull request #820 from Merit-Systems/remove-chain-dropdown-add-button
Remove add chain button from selector
2 parents 4aad4d6 + 2f4cfde commit 42dd793

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

apps/scan/src/app/(app)/_components/layout/navbar/chain-selector.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ import {
1212
PopoverContent,
1313
PopoverTrigger,
1414
} from '@/components/ui/popover';
15-
import { Globe, Plus } from 'lucide-react';
15+
import { Globe } from 'lucide-react';
1616
import { useState } from 'react';
17-
import { TELEGRAM_SUPPORT_LINK } from './constants';
1817

1918
export const ChainSelector = () => {
2019
const { chain, setChain } = useChain();
@@ -72,14 +71,6 @@ export const ChainSelector = () => {
7271
{CHAIN_LABELS[value]}
7372
</Button>
7473
))}
75-
<Button
76-
className="w-full"
77-
variant="ghost"
78-
onClick={() => window.open(TELEGRAM_SUPPORT_LINK, '_blank')}
79-
>
80-
<Plus className="size-4" />
81-
Add Chain
82-
</Button>
8374
</PopoverContent>
8475
</Popover>
8576
);

apps/scan/src/app/(app)/_components/layout/navbar/constants.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)