mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 06:40:50 +01:00
Rename CatalogGiftView
This commit is contained in:
parent
796e5db130
commit
34ad458f87
@ -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<CatalogViewProps> = props =>
|
||||
</div>
|
||||
</NitroCardContentView>
|
||||
</NitroCardView> }
|
||||
<CatalogPageGiftView />
|
||||
<CatalogGiftView />
|
||||
</CatalogContextProvider>
|
||||
);
|
||||
}
|
||||
|
@ -2,4 +2,4 @@
|
||||
@import './navigation/CatalogNavigationView';
|
||||
@import './page/CatalogPageView';
|
||||
@import './search/CatalogSearchView';
|
||||
@import './gift/CatalogPageGiftView';
|
||||
@import './gift/CatalogGiftView';
|
||||
|
@ -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;
|
Loading…
Reference in New Issue
Block a user