From 329f36ae17eb5bc15a42f7cb1510af9b8d49b0ea Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Mon, 25 Mar 2024 22:46:38 +0200 Subject: [PATCH] fix(page-parts): add them into folder --- src/pages/ManageValidator/LeftManage/LeftManage.tsx | 6 +++--- .../ManageValidator/LeftManage/{ => PageParts}/Footer.tsx | 7 ++++--- .../ManageValidator/LeftManage/{ => PageParts}/Header.tsx | 4 +++- 3 files changed, 10 insertions(+), 7 deletions(-) rename src/pages/ManageValidator/LeftManage/{ => PageParts}/Footer.tsx (93%) rename src/pages/ManageValidator/LeftManage/{ => PageParts}/Header.tsx (86%) diff --git a/src/pages/ManageValidator/LeftManage/LeftManage.tsx b/src/pages/ManageValidator/LeftManage/LeftManage.tsx index 26ab2579..aaefcfeb 100644 --- a/src/pages/ManageValidator/LeftManage/LeftManage.tsx +++ b/src/pages/ManageValidator/LeftManage/LeftManage.tsx @@ -3,12 +3,12 @@ import { Stack } from 'tamagui' import { InformationBox } from '@status-im/components' import { CloseCircleIcon } from '@status-im/icons' -import Header from './Header' +import Header from './PageParts/Header' import ValidatorDataCards from './ValidatorDataCards/ValidatorDataCards' import ValidatorSettingsCards from './ValidatorSettingsCards/ValidatorSettingsCards' -import ValidatorGraffiti from './ValidatorGraffiti' +import ValidatorGraffiti from './ValidatorGraffiti/ValidatorGraffiti' import ValidatorDataTabs from './ManageValidatorTable/ValidatorDataTabs' -import Footer from './Footer' +import Footer from './PageParts/Footer' import ValidatorBlueSection from './ValidatorBlueSection/ValidatorBlueSection' const LeftManage = () => { diff --git a/src/pages/ManageValidator/LeftManage/Footer.tsx b/src/pages/ManageValidator/LeftManage/PageParts/Footer.tsx similarity index 93% rename from src/pages/ManageValidator/LeftManage/Footer.tsx rename to src/pages/ManageValidator/LeftManage/PageParts/Footer.tsx index 85737b33..16d46fd6 100644 --- a/src/pages/ManageValidator/LeftManage/Footer.tsx +++ b/src/pages/ManageValidator/LeftManage/PageParts/Footer.tsx @@ -1,8 +1,9 @@ import { Text as TextStat } from '@status-im/components' - -import { Text, XStack } from 'tamagui' import { ExternalIcon } from '@status-im/icons' -import Icon from '../../../components/General/Icon' +import { Text, XStack } from 'tamagui' + +import Icon from '../../../../components/General/Icon' + const Footer = () => { return ( { return (