Update hotel view widgets

This commit is contained in:
Bill 2021-08-16 02:39:48 -04:00
parent 785ef17c40
commit bf780ec546
4 changed files with 7 additions and 6 deletions

View File

@ -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';

View File

@ -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 =>
{

View File

@ -0,0 +1,4 @@
@import './bonus-rare/BonusRareWidgetView';
@import './hall-of-fame/HallOfFameWidgetView';
@import './promo-article/PromoArticleWidgetView';
@import './widget-container/WidgetContainerView';

View File

@ -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>