From 34ad458f87b4651dc0329f9c0cb9e9ac069d2f59 Mon Sep 17 00:00:00 2001 From: Bill Date: Fri, 17 Sep 2021 02:39:58 -0400 Subject: [PATCH] Rename CatalogGiftView --- src/views/catalog/CatalogView.tsx | 4 ++-- src/views/catalog/views/CatalogViews.scss | 2 +- .../gift/{CatalogPageGiftView.scss => CatalogGiftView.scss} | 0 .../gift/{CatalogPageGiftView.tsx => CatalogGiftView.tsx} | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/views/catalog/views/gift/{CatalogPageGiftView.scss => CatalogGiftView.scss} (100%) rename src/views/catalog/views/gift/{CatalogPageGiftView.tsx => CatalogGiftView.tsx} (99%) diff --git a/src/views/catalog/CatalogView.tsx b/src/views/catalog/CatalogView.tsx index d49b167e..d69eb842 100644 --- a/src/views/catalog/CatalogView.tsx +++ b/src/views/catalog/CatalogView.tsx @@ -10,7 +10,7 @@ import { CatalogMode, CatalogViewProps } from './CatalogView.types'; import { BuildCatalogPageTree } from './common/CatalogUtilities'; import { CatalogContextProvider } from './context/CatalogContext'; import { CatalogReducer, initialCatalog } from './reducers/CatalogReducer'; -import { CatalogPageGiftView } from './views/gift/CatalogPageGiftView'; +import { CatalogGiftView } from './views/gift/CatalogGiftView'; import { ACTIVE_PAGES, CatalogNavigationView } from './views/navigation/CatalogNavigationView'; import { CatalogPageView } from './views/page/CatalogPageView'; @@ -214,7 +214,7 @@ export const CatalogView: FC = props => } - + ); } diff --git a/src/views/catalog/views/CatalogViews.scss b/src/views/catalog/views/CatalogViews.scss index d5d8464b..0a5f6295 100644 --- a/src/views/catalog/views/CatalogViews.scss +++ b/src/views/catalog/views/CatalogViews.scss @@ -2,4 +2,4 @@ @import './navigation/CatalogNavigationView'; @import './page/CatalogPageView'; @import './search/CatalogSearchView'; -@import './gift/CatalogPageGiftView'; +@import './gift/CatalogGiftView'; diff --git a/src/views/catalog/views/gift/CatalogPageGiftView.scss b/src/views/catalog/views/gift/CatalogGiftView.scss similarity index 100% rename from src/views/catalog/views/gift/CatalogPageGiftView.scss rename to src/views/catalog/views/gift/CatalogGiftView.scss diff --git a/src/views/catalog/views/gift/CatalogPageGiftView.tsx b/src/views/catalog/views/gift/CatalogGiftView.tsx similarity index 99% rename from src/views/catalog/views/gift/CatalogPageGiftView.tsx rename to src/views/catalog/views/gift/CatalogGiftView.tsx index 1d7a1bf1..d466d5b6 100644 --- a/src/views/catalog/views/gift/CatalogPageGiftView.tsx +++ b/src/views/catalog/views/gift/CatalogGiftView.tsx @@ -10,7 +10,7 @@ import { CurrencyIcon } from '../../../shared/currency-icon/CurrencyIcon'; import { FurniImageView } from '../../../shared/furni-image/FurniImageView'; import { useCatalogContext } from '../../context/CatalogContext'; -export const CatalogPageGiftView: FC<{}> = props => +export const CatalogGiftView: FC<{}> = props => { const { catalogState = null } = useCatalogContext(); const { giftConfiguration = null } = catalogState;