From c8227d35b9e1dc5d97c1eed0de559d223ee5bb59 Mon Sep 17 00:00:00 2001 From: Ross Bulat Date: Thu, 14 Mar 2024 08:26:48 +0700 Subject: [PATCH] chore: rename component --- .../Overview/{ActiveAccounts => AccountControls}/Item.tsx | 0 .../Overview/{ActiveAccounts => AccountControls}/Wrappers.ts | 0 .../Overview/{ActiveAccounts => AccountControls}/index.tsx | 2 +- .../Overview/{ActiveAccounts => AccountControls}/types.ts | 0 src/pages/Overview/index.tsx | 4 ++-- 5 files changed, 3 insertions(+), 3 deletions(-) rename src/pages/Overview/{ActiveAccounts => AccountControls}/Item.tsx (100%) rename src/pages/Overview/{ActiveAccounts => AccountControls}/Wrappers.ts (100%) rename src/pages/Overview/{ActiveAccounts => AccountControls}/index.tsx (93%) rename src/pages/Overview/{ActiveAccounts => AccountControls}/types.ts (100%) diff --git a/src/pages/Overview/ActiveAccounts/Item.tsx b/src/pages/Overview/AccountControls/Item.tsx similarity index 100% rename from src/pages/Overview/ActiveAccounts/Item.tsx rename to src/pages/Overview/AccountControls/Item.tsx diff --git a/src/pages/Overview/ActiveAccounts/Wrappers.ts b/src/pages/Overview/AccountControls/Wrappers.ts similarity index 100% rename from src/pages/Overview/ActiveAccounts/Wrappers.ts rename to src/pages/Overview/AccountControls/Wrappers.ts diff --git a/src/pages/Overview/ActiveAccounts/index.tsx b/src/pages/Overview/AccountControls/index.tsx similarity index 93% rename from src/pages/Overview/ActiveAccounts/index.tsx rename to src/pages/Overview/AccountControls/index.tsx index 780271137a..4ec8db9b37 100644 --- a/src/pages/Overview/ActiveAccounts/index.tsx +++ b/src/pages/Overview/AccountControls/index.tsx @@ -5,7 +5,7 @@ import { useActiveAccounts } from 'contexts/ActiveAccounts'; import { Item } from './Item'; import { ActiveAccounsWrapper } from './Wrappers'; -export const ActiveAccounts = () => { +export const AccountControls = () => { const { activeProxy, activeAccount } = useActiveAccounts(); return ( diff --git a/src/pages/Overview/ActiveAccounts/types.ts b/src/pages/Overview/AccountControls/types.ts similarity index 100% rename from src/pages/Overview/ActiveAccounts/types.ts rename to src/pages/Overview/AccountControls/types.ts diff --git a/src/pages/Overview/index.tsx b/src/pages/Overview/index.tsx index 8cc0a6cfa9..4c07bf26e9 100644 --- a/src/pages/Overview/index.tsx +++ b/src/pages/Overview/index.tsx @@ -5,7 +5,7 @@ import { useTranslation } from 'react-i18next'; import { CardWrapper } from 'library/Card/Wrappers'; import { StatBoxList } from 'library/StatBoxList'; import { PluginLabel } from 'library/PluginLabel'; -import { ActiveAccounts } from './ActiveAccounts'; +import { AccountControls } from './AccountControls'; import { BalanceChart } from './BalanceChart'; import { BalanceLinks } from './BalanceLinks'; import { NetworkStats } from './NetworkSats'; @@ -29,7 +29,7 @@ export const Overview = () => { - +