diff --git a/examples/components/src/Header.tsx b/examples/components/src/Header.tsx index c5879e06..a450f892 100644 --- a/examples/components/src/Header.tsx +++ b/examples/components/src/Header.tsx @@ -3,11 +3,8 @@ import { Image, Text, GradientAvatar, - Select, truncateAddress, NetworkImage, - IconButton, - CloseIcon, Card, Button, ChevronDownIcon, @@ -72,21 +69,23 @@ const AccountMenu = () => { paddingX="4" paddingY="3" cursor="pointer" + gap="2" + alignItems="center" + userSelect="none" + opacity={{ hover: '80' }} style={{ height: 52 }} > - - - - - - {truncateAddress(String(address), 4)} - - + + + + + {truncateAddress(String(address), 4)} + + - - - + + @@ -102,10 +101,6 @@ const AccountMenu = () => { padding="2" style={{ minWidth: 360 }} > - {/* - - */} - @@ -142,22 +137,73 @@ const AccountMenu = () => { const NetworkSelect = () => { const chainId = useChainId() const { switchChain } = useSwitchChain() + const [isOpen, toggleOpen] = useState(false) return ( -