diff --git a/src/pages/Dashboard/Dashboard.tsx b/src/pages/Dashboard/Dashboard.tsx index a3daae25..9dc73e46 100644 --- a/src/pages/Dashboard/Dashboard.tsx +++ b/src/pages/Dashboard/Dashboard.tsx @@ -1,9 +1,9 @@ import { XStack } from 'tamagui' import LeftSidebar from '../../components/General/LeftSidebar/LeftSidebar' -import RightSidebar from '../../components/General/RightSideBar/RightSidebar' import DashboardContent from './DashboardContent' import { useWindowSize } from '../../hooks/useWindowSize' +import DashboardSidebar from './DashboardSidebar/DashboardSidebar' const Dashboard = () => { const { width } = useWindowSize() @@ -11,7 +11,7 @@ const Dashboard = () => { - {width > 900 && } + {width > 900 && } ) } diff --git a/src/pages/Dashboard/DashboardSidebar/DashboardSidebar.tsx b/src/pages/Dashboard/DashboardSidebar/DashboardSidebar.tsx new file mode 100644 index 00000000..9adaba32 --- /dev/null +++ b/src/pages/Dashboard/DashboardSidebar/DashboardSidebar.tsx @@ -0,0 +1,61 @@ +import { Avatar, Text } from '@status-im/components' +import { XStack, YStack } from 'tamagui' +import { CopyIcon } from '@status-im/icons' + +import AlertsList from '../../../components/General/RightSideBar/AlertsList' +import LogsList from '../../../components/General/RightSideBar/LogsList' + +import { copyFunction, getFormattedWalletAddress } from '../../../utilities' +import ValidatorsTabs from '../../../components/General/RightSideBar/ValidatorsTabs/ValidatorsTabs' +import ValidatorsCount from '../../../components/General/RightSideBar/ValidatorsCount' +import DashboardDiamondCard from './DashboardDiamondCard' +import AddValidatorButton from './AddValidatorButton' + +const DashboardSidebar = () => { + const onCopyWalletAddress = () => { + copyFunction('0xb9dc35') + } + + return ( + + + + + + Ethereum Mainnet + + + {getFormattedWalletAddress('0xb9dc35')} + + + + + + + + + + + + + + ) +} + +export default DashboardSidebar