mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
Update hotel view widgets
This commit is contained in:
parent
785ef17c40
commit
bf780ec546
@ -93,7 +93,4 @@
|
||||
}
|
||||
}
|
||||
|
||||
@import './views/widgets/promo-article/PromoArticleWidgetView.scss';
|
||||
@import './views/widgets/bonus-rare/BonusRareWidgetView.scss';
|
||||
@import './views/widgets/hall-of-fame/HallOfFameWidgetView.scss';
|
||||
@import './views/widgets/widgetcontainer/WidgetContainerView.scss'
|
||||
@import './views/widgets/HotelViewWidgets';
|
||||
|
@ -3,7 +3,7 @@ import { BonusRareWidgetView } from './bonus-rare/BonusRareWidgetView';
|
||||
import { GetWidgetLayoutProps } from './GetWidgetLayout.types';
|
||||
import { HallOfFameWidgetView } from './hall-of-fame/HallOfFameWidgetView';
|
||||
import { PromoArticleWidgetView } from './promo-article/PromoArticleWidgetView';
|
||||
import { WidgetContainerView } from './widgetcontainer/WIdgetContainerView';
|
||||
import { WidgetContainerView } from './widget-container/WidgetContainerView';
|
||||
|
||||
export const GetWidgetLayout: FC<GetWidgetLayoutProps> = props =>
|
||||
{
|
||||
|
4
src/views/hotel-view/views/widgets/HotelViewWidgets.scss
Normal file
4
src/views/hotel-view/views/widgets/HotelViewWidgets.scss
Normal file
@ -0,0 +1,4 @@
|
||||
@import './bonus-rare/BonusRareWidgetView';
|
||||
@import './hall-of-fame/HallOfFameWidgetView';
|
||||
@import './promo-article/PromoArticleWidgetView';
|
||||
@import './widget-container/WidgetContainerView';
|
@ -29,7 +29,7 @@ export const HallOfFameWidgetView: FC<HallOfFameWidgetViewProps> = props =>
|
||||
<div className="hall-of-fame widget">
|
||||
{ data.hof && (data.hof.length > 0) && data.hof.map((entry, index) =>
|
||||
{
|
||||
return <HallOfFameItemView data={ entry } level={ (index + 1) } />;
|
||||
return <HallOfFameItemView key={ index } data={ entry } level={ (index + 1) } />;
|
||||
}
|
||||
)}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user