From b63279a931b396bb0a27e26b1e804f3344ffb272 Mon Sep 17 00:00:00 2001 From: Ivana Andersson Date: Fri, 25 Aug 2023 11:08:04 +0300 Subject: [PATCH] feat: add create avatar component to create local node page --- .../CreateLocalNodePage.tsx | 44 +++---------------- 1 file changed, 5 insertions(+), 39 deletions(-) diff --git a/src/pages/CreateLocalNodePage/CreateLocalNodePage.tsx b/src/pages/CreateLocalNodePage/CreateLocalNodePage.tsx index d007e3e5..79055cd8 100644 --- a/src/pages/CreateLocalNodePage/CreateLocalNodePage.tsx +++ b/src/pages/CreateLocalNodePage/CreateLocalNodePage.tsx @@ -1,17 +1,15 @@ import { useState } from 'react' -import { Button as StatusButton, Text, Avatar, Checkbox } from '@status-im/components' -import { NodeIcon, ReactionIcon } from '@status-im/icons' +import { Button as StatusButton, Text, Checkbox } from '@status-im/components' +import { NodeIcon } from '@status-im/icons' import { Label, Separator, XStack, YStack } from 'tamagui' import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow' import Header from '../../components/General/Header' import Titles from '../../components/General/Titles' -import LabelInputField from '../../components/General/LabelInputField' -import ColorPicker from '../../components/General/ColorPicker/ColorPicker' -import EmojiPickerDialog from '../../components/General/EmojiPickerDialog' +// import LabelInputField from '../../components/General/LabelInputField' +import CreateAvatar from '../../components/General/CreateAvatar/CreateAvatar' const CreateLocalNodePage = () => { const [autoConnectChecked, setAutoConnectChecked] = useState(false) - const [isEmojiDialogOpen, setIsEmojiDialogOpen] = useState(false) return ( @@ -22,39 +20,7 @@ const CreateLocalNodePage = () => { title="Create Local Node" subtitle="Configure your device to start Staking on Nimbus" /> - - - - - - - - Device Avatar - - - - setIsEmojiDialogOpen(prev => !prev)} - style={{ cursor: 'pointer' }} - /> - } - /> - {isEmojiDialogOpen && } - - - - - Highlight Color - - - - - + Settings