mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-18 21:36:27 +01:00
Eslint fixes
This commit is contained in:
parent
a39db6cf91
commit
d0d2c51472
@ -8,8 +8,8 @@ export function HotelView(props: HotelViewProps): JSX.Element
|
||||
const sun = Nitro.instance.core.configuration.interpolate(Nitro.instance.getConfiguration('hotelview.images')['sun']);
|
||||
const drape = Nitro.instance.core.configuration.interpolate(Nitro.instance.getConfiguration('hotelview.images')['drape']);
|
||||
const left = Nitro.instance.core.configuration.interpolate(Nitro.instance.getConfiguration('hotelview.images')['left']);
|
||||
const rightRepeat = Nitro.instance.core.configuration.interpolate(Nitro.instance.getConfiguration('hotelview.images')['right.repeat']);
|
||||
const right = Nitro.instance.core.configuration.interpolate(Nitro.instance.getConfiguration('hotelview.images')['right']);
|
||||
//const rightRepeat = Nitro.instance.core.configuration.interpolate(Nitro.instance.getConfiguration('hotelview.images')['right.repeat']);
|
||||
//const right = Nitro.instance.core.configuration.interpolate(Nitro.instance.getConfiguration('hotelview.images')['right']);
|
||||
|
||||
return (
|
||||
<div className="nitro-hotel-view" style={ (backgroundColor && backgroundColor) ? { background: backgroundColor } : {} }>
|
||||
|
@ -11,7 +11,7 @@ export function NavigatorMessageHandler(props: NavigatorMessageHandlerProps): JS
|
||||
|
||||
const onUserInfoEvent = useCallback((event: UserInfoEvent) =>
|
||||
{
|
||||
const parser = event.getParser();
|
||||
//const parser = event.getParser();
|
||||
|
||||
SendMessageHook(new NavigatorCategoriesComposer());
|
||||
SendMessageHook(new NavigatorSettingsComposer());
|
||||
|
@ -9,7 +9,7 @@ export function NavigatorResultListsView(props: NavigatorResultListsViewProps):
|
||||
<div className="nitro-navigator-result-lists w-100">
|
||||
{ resultLists && resultLists.length && resultLists.map((resultList, index) =>
|
||||
{
|
||||
return <NavigatorResultListView key={ index } resultList={ resultList } isLast={ index + 1 === resultLists.length } />
|
||||
return <NavigatorResultListView key={ index } resultList={ resultList } />
|
||||
})
|
||||
}
|
||||
</div>
|
||||
|
@ -6,7 +6,7 @@ import { NavigatorResultView } from './result/NavigatorResultView';
|
||||
|
||||
export function NavigatorResultListView(props: NavigatorResultListViewProps): JSX.Element
|
||||
{
|
||||
const { resultList = null, isLast = false } = props;
|
||||
const { resultList = null } = props;
|
||||
|
||||
const [ isExtended, setIsExtended ] = useState(true);
|
||||
const [ displayMode, setDisplayMode ] = useState<number>(0);
|
||||
|
@ -3,7 +3,6 @@ import { NavigatorSearchResultList } from 'nitro-renderer';
|
||||
export interface NavigatorResultListViewProps
|
||||
{
|
||||
resultList: NavigatorSearchResultList;
|
||||
isLast: boolean;
|
||||
}
|
||||
|
||||
export class NavigatorResultListViewDisplayMode
|
||||
|
Loading…
Reference in New Issue
Block a user