From b4d008179628e26e13156a7e59985214ed714bf0 Mon Sep 17 00:00:00 2001 From: Martin Homola Date: Mon, 7 Oct 2024 13:20:55 +0200 Subject: [PATCH] chore(coinmarket): rename folders sell_new to sell and exchange_new to exchange --- packages/suite-desktop-ui/src/support/Router.tsx | 16 ++++++++-------- packages/suite-web/src/support/Router.tsx | 16 ++++++++-------- .../CoinmarketExchangeConfirm.tsx | 0 .../CoinmarketExchangeDetail.tsx | 0 .../CoinmarketExchangeForm.tsx | 0 .../CoinmarketExchangeOffers.tsx | 0 .../{sell_new => sell}/CoinmarketSellConfirm.tsx | 0 .../{sell_new => sell}/CoinmarketSellDetail.tsx | 0 .../{sell_new => sell}/CoinmarketSellForm.tsx | 0 .../{sell_new => sell}/CoinmarketSellOffers.tsx | 0 10 files changed, 16 insertions(+), 16 deletions(-) rename packages/suite/src/views/wallet/coinmarket/{exchange_new => exchange}/CoinmarketExchangeConfirm.tsx (100%) rename packages/suite/src/views/wallet/coinmarket/{exchange_new => exchange}/CoinmarketExchangeDetail.tsx (100%) rename packages/suite/src/views/wallet/coinmarket/{exchange_new => exchange}/CoinmarketExchangeForm.tsx (100%) rename packages/suite/src/views/wallet/coinmarket/{exchange_new => exchange}/CoinmarketExchangeOffers.tsx (100%) rename packages/suite/src/views/wallet/coinmarket/{sell_new => sell}/CoinmarketSellConfirm.tsx (100%) rename packages/suite/src/views/wallet/coinmarket/{sell_new => sell}/CoinmarketSellDetail.tsx (100%) rename packages/suite/src/views/wallet/coinmarket/{sell_new => sell}/CoinmarketSellForm.tsx (100%) rename packages/suite/src/views/wallet/coinmarket/{sell_new => sell}/CoinmarketSellOffers.tsx (100%) diff --git a/packages/suite-desktop-ui/src/support/Router.tsx b/packages/suite-desktop-ui/src/support/Router.tsx index 65e2e8d941f..1aeddaf4bf0 100644 --- a/packages/suite-desktop-ui/src/support/Router.tsx +++ b/packages/suite-desktop-ui/src/support/Router.tsx @@ -19,14 +19,14 @@ import { CoinmarketBuyForm } from 'src/views/wallet/coinmarket/buy/CoinmarketBuy import { CoinmarketBuyDetail } from 'src/views/wallet/coinmarket/buy/CoinmarketBuyDetail'; import { CoinmarketBuyOffers } from 'src/views/wallet/coinmarket/buy/CoinmarketBuyOffers'; import { CoinmarketBuyConfirm } from 'src/views/wallet/coinmarket/buy/CoinmarketBuyConfirm'; -import { CoinmarketSellForm } from 'src/views/wallet/coinmarket/sell_new/CoinmarketSellForm'; -import { CoinmarketSellDetail } from 'src/views/wallet/coinmarket/sell_new/CoinmarketSellDetail'; -import { CoinmarketSellOffers } from 'src/views/wallet/coinmarket/sell_new/CoinmarketSellOffers'; -import { CoinmarketSellConfirm } from 'src/views/wallet/coinmarket/sell_new/CoinmarketSellConfirm'; -import { CoinmarketExchangeForm } from 'src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeForm'; -import { CoinmarketExchangeDetail } from 'src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeDetail'; -import { CoinmarketExchangeOffers } from 'src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeOffers'; -import { CoinmarketExchangeConfirm } from 'src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeConfirm'; +import { CoinmarketSellForm } from 'src/views/wallet/coinmarket/sell/CoinmarketSellForm'; +import { CoinmarketSellDetail } from 'src/views/wallet/coinmarket/sell/CoinmarketSellDetail'; +import { CoinmarketSellOffers } from 'src/views/wallet/coinmarket/sell/CoinmarketSellOffers'; +import { CoinmarketSellConfirm } from 'src/views/wallet/coinmarket/sell/CoinmarketSellConfirm'; +import { CoinmarketExchangeForm } from 'src/views/wallet/coinmarket/exchange/CoinmarketExchangeForm'; +import { CoinmarketExchangeDetail } from 'src/views/wallet/coinmarket/exchange/CoinmarketExchangeDetail'; +import { CoinmarketExchangeOffers } from 'src/views/wallet/coinmarket/exchange/CoinmarketExchangeOffers'; +import { CoinmarketExchangeConfirm } from 'src/views/wallet/coinmarket/exchange/CoinmarketExchangeConfirm'; import { CoinmarketDCALanding } from 'src/views/wallet/coinmarket/DCA/CoinmarketDCALanding'; import { CoinmarketRedirect } from 'src/views/wallet/coinmarket/redirect/CoinmarketRedirect'; import { CoinmarketTransactions } from 'src/views/wallet/coinmarket/transactions/CoinmarketTransactions'; diff --git a/packages/suite-web/src/support/Router.tsx b/packages/suite-web/src/support/Router.tsx index 6f357ff9c1b..6b5f0178b07 100644 --- a/packages/suite-web/src/support/Router.tsx +++ b/packages/suite-web/src/support/Router.tsx @@ -71,42 +71,42 @@ const components: Record>> = { ), 'wallet-coinmarket-sell': lazy(() => import( - /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/sell_new/CoinmarketSellForm' + /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/sell/CoinmarketSellForm' ).then(({ CoinmarketSellForm }) => ({ default: CoinmarketSellForm })), ), 'wallet-coinmarket-sell-detail': lazy(() => import( - /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/sell_new/CoinmarketSellDetail' + /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/sell/CoinmarketSellDetail' ).then(({ CoinmarketSellDetail }) => ({ default: CoinmarketSellDetail })), ), 'wallet-coinmarket-sell-offers': lazy(() => import( - /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/sell_new/CoinmarketSellOffers' + /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/sell/CoinmarketSellOffers' ).then(({ CoinmarketSellOffers }) => ({ default: CoinmarketSellOffers })), ), 'wallet-coinmarket-sell-confirm': lazy(() => import( - /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/sell_new/CoinmarketSellConfirm' + /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/sell/CoinmarketSellConfirm' ).then(({ CoinmarketSellConfirm }) => ({ default: CoinmarketSellConfirm })), ), 'wallet-coinmarket-exchange': lazy(() => import( - /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeForm' + /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/exchange/CoinmarketExchangeForm' ).then(({ CoinmarketExchangeForm }) => ({ default: CoinmarketExchangeForm })), ), 'wallet-coinmarket-exchange-detail': lazy(() => import( - /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeDetail' + /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/exchange/CoinmarketExchangeDetail' ).then(({ CoinmarketExchangeDetail }) => ({ default: CoinmarketExchangeDetail })), ), 'wallet-coinmarket-exchange-offers': lazy(() => import( - /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeOffers' + /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/exchange/CoinmarketExchangeOffers' ).then(({ CoinmarketExchangeOffers }) => ({ default: CoinmarketExchangeOffers })), ), 'wallet-coinmarket-exchange-confirm': lazy(() => import( - /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeConfirm' + /* webpackChunkName: "coinmarket" */ 'src/views/wallet/coinmarket/exchange/CoinmarketExchangeConfirm' ).then(({ CoinmarketExchangeConfirm }) => ({ default: CoinmarketExchangeConfirm })), ), 'wallet-coinmarket-dca': lazy(() => diff --git a/packages/suite/src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeConfirm.tsx b/packages/suite/src/views/wallet/coinmarket/exchange/CoinmarketExchangeConfirm.tsx similarity index 100% rename from packages/suite/src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeConfirm.tsx rename to packages/suite/src/views/wallet/coinmarket/exchange/CoinmarketExchangeConfirm.tsx diff --git a/packages/suite/src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeDetail.tsx b/packages/suite/src/views/wallet/coinmarket/exchange/CoinmarketExchangeDetail.tsx similarity index 100% rename from packages/suite/src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeDetail.tsx rename to packages/suite/src/views/wallet/coinmarket/exchange/CoinmarketExchangeDetail.tsx diff --git a/packages/suite/src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeForm.tsx b/packages/suite/src/views/wallet/coinmarket/exchange/CoinmarketExchangeForm.tsx similarity index 100% rename from packages/suite/src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeForm.tsx rename to packages/suite/src/views/wallet/coinmarket/exchange/CoinmarketExchangeForm.tsx diff --git a/packages/suite/src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeOffers.tsx b/packages/suite/src/views/wallet/coinmarket/exchange/CoinmarketExchangeOffers.tsx similarity index 100% rename from packages/suite/src/views/wallet/coinmarket/exchange_new/CoinmarketExchangeOffers.tsx rename to packages/suite/src/views/wallet/coinmarket/exchange/CoinmarketExchangeOffers.tsx diff --git a/packages/suite/src/views/wallet/coinmarket/sell_new/CoinmarketSellConfirm.tsx b/packages/suite/src/views/wallet/coinmarket/sell/CoinmarketSellConfirm.tsx similarity index 100% rename from packages/suite/src/views/wallet/coinmarket/sell_new/CoinmarketSellConfirm.tsx rename to packages/suite/src/views/wallet/coinmarket/sell/CoinmarketSellConfirm.tsx diff --git a/packages/suite/src/views/wallet/coinmarket/sell_new/CoinmarketSellDetail.tsx b/packages/suite/src/views/wallet/coinmarket/sell/CoinmarketSellDetail.tsx similarity index 100% rename from packages/suite/src/views/wallet/coinmarket/sell_new/CoinmarketSellDetail.tsx rename to packages/suite/src/views/wallet/coinmarket/sell/CoinmarketSellDetail.tsx diff --git a/packages/suite/src/views/wallet/coinmarket/sell_new/CoinmarketSellForm.tsx b/packages/suite/src/views/wallet/coinmarket/sell/CoinmarketSellForm.tsx similarity index 100% rename from packages/suite/src/views/wallet/coinmarket/sell_new/CoinmarketSellForm.tsx rename to packages/suite/src/views/wallet/coinmarket/sell/CoinmarketSellForm.tsx diff --git a/packages/suite/src/views/wallet/coinmarket/sell_new/CoinmarketSellOffers.tsx b/packages/suite/src/views/wallet/coinmarket/sell/CoinmarketSellOffers.tsx similarity index 100% rename from packages/suite/src/views/wallet/coinmarket/sell_new/CoinmarketSellOffers.tsx rename to packages/suite/src/views/wallet/coinmarket/sell/CoinmarketSellOffers.tsx