diff --git a/src/views/catalog/CatalogView.tsx b/src/views/catalog/CatalogView.tsx index 4ee80c6a..cbe8faab 100644 --- a/src/views/catalog/CatalogView.tsx +++ b/src/views/catalog/CatalogView.tsx @@ -93,10 +93,10 @@ export const CatalogView: FC = props => setIsVisible(false) } /> - { root && root.children.length && root.children.map((page, index) => + { root && root.children.length && root.children.map(page => { return ( - setCurrentTab(page) }> + setCurrentTab(page) }> { page.localization } ); diff --git a/src/views/catalog/views/navigation/set/CatalogNavigationSetView.tsx b/src/views/catalog/views/navigation/set/CatalogNavigationSetView.tsx index 32a8ec30..32d5e54d 100644 --- a/src/views/catalog/views/navigation/set/CatalogNavigationSetView.tsx +++ b/src/views/catalog/views/navigation/set/CatalogNavigationSetView.tsx @@ -35,11 +35,11 @@ export const CatalogNavigationSetView: FC = props return (
- { page && (page.children.length > 0) && page.children.map((page, index) => + { page && (page.children.length > 0) && page.children.map(page => { if(!page.visible) return null; - return + return }) }
); diff --git a/src/views/inventory/views/badge/active-results/InventoryActiveBadgeResultsView.tsx b/src/views/inventory/views/badge/active-results/InventoryActiveBadgeResultsView.tsx index d8f970af..75f3785d 100644 --- a/src/views/inventory/views/badge/active-results/InventoryActiveBadgeResultsView.tsx +++ b/src/views/inventory/views/badge/active-results/InventoryActiveBadgeResultsView.tsx @@ -8,9 +8,9 @@ export const InventoryActiveBadgeResultsView: FC - { badges && (badges.length > 0) && badges.map((code, index) => + { badges && (badges.length > 0) && badges.map(code => { - return + return }) } ); diff --git a/src/views/inventory/views/badge/results/InventoryBadgeResultsView.tsx b/src/views/inventory/views/badge/results/InventoryBadgeResultsView.tsx index d563979b..66215373 100644 --- a/src/views/inventory/views/badge/results/InventoryBadgeResultsView.tsx +++ b/src/views/inventory/views/badge/results/InventoryBadgeResultsView.tsx @@ -9,11 +9,11 @@ export const InventoryBadgeResultsView: FC = pro return (
- { badges && (badges.length > 0) && badges.map((code, index) => + { badges && (badges.length > 0) && badges.map(code => { if(activeBadges.indexOf(code) >= 0) return null; - return + return }) }
diff --git a/src/views/inventory/views/bot/results/InventoryBotResultsView.tsx b/src/views/inventory/views/bot/results/InventoryBotResultsView.tsx index 05e044fb..477c7bb4 100644 --- a/src/views/inventory/views/bot/results/InventoryBotResultsView.tsx +++ b/src/views/inventory/views/bot/results/InventoryBotResultsView.tsx @@ -9,9 +9,9 @@ export const InventoryBotResultsView: FC = props = return (
- { botItems && (botItems.length > 0) && botItems.map((item, index) => + { botItems && (botItems.length > 0) && botItems.map(item => { - return + return }) }
diff --git a/src/views/inventory/views/pet/results/InventoryPetResultsView.tsx b/src/views/inventory/views/pet/results/InventoryPetResultsView.tsx index 03fc893e..21e99114 100644 --- a/src/views/inventory/views/pet/results/InventoryPetResultsView.tsx +++ b/src/views/inventory/views/pet/results/InventoryPetResultsView.tsx @@ -9,9 +9,9 @@ export const InventoryPetResultsView: FC = props = return (
- { petItems && (petItems.length > 0) && petItems.map((item, index) => + { petItems && (petItems.length > 0) && petItems.map(item => { - return + return }) }
diff --git a/src/views/room/widgets/furniture/stickie/FurnitureStickieView.tsx b/src/views/room/widgets/furniture/stickie/FurnitureStickieView.tsx index 2c1a7a97..3a34020b 100644 --- a/src/views/room/widgets/furniture/stickie/FurnitureStickieView.tsx +++ b/src/views/room/widgets/furniture/stickie/FurnitureStickieView.tsx @@ -122,9 +122,9 @@ export const FurnitureStickieView: FC = props => { stickieData.canModify && <>
processAction('trash') }>
- { STICKIE_COLORS.map((color, index) => + { STICKIE_COLORS.map(color => { - return
processAction('changeColor', color) } style={ {backgroundColor: ColorUtils.makeColorHex(color) } } /> + return
processAction('changeColor', color) } style={ {backgroundColor: ColorUtils.makeColorHex(color) } } /> })} }
diff --git a/src/views/room/widgets/infostand/views/bot/InfoStandWidgetBotView.tsx b/src/views/room/widgets/infostand/views/bot/InfoStandWidgetBotView.tsx index 45c2eb20..dedf8822 100644 --- a/src/views/room/widgets/infostand/views/bot/InfoStandWidgetBotView.tsx +++ b/src/views/room/widgets/infostand/views/bot/InfoStandWidgetBotView.tsx @@ -24,9 +24,9 @@ export const InfoStandWidgetBotView: FC = props =>
- { (botData.badges.length > 0) && botData.badges.map((result, index) => + { (botData.badges.length > 0) && botData.badges.map(result => { - return ; + return ; }) }
diff --git a/src/views/room/widgets/infostand/views/rentable-bot/InfoStandWidgetRentableBotView.tsx b/src/views/room/widgets/infostand/views/rentable-bot/InfoStandWidgetRentableBotView.tsx index 258840ef..a25fc8d3 100644 --- a/src/views/room/widgets/infostand/views/rentable-bot/InfoStandWidgetRentableBotView.tsx +++ b/src/views/room/widgets/infostand/views/rentable-bot/InfoStandWidgetRentableBotView.tsx @@ -36,9 +36,9 @@ export const InfoStandWidgetRentableBotView: FC
- { (rentableBotData.badges.length > 0) && rentableBotData.badges.map((result, index) => + { (rentableBotData.badges.length > 0) && rentableBotData.badges.map(result => { - return ; + return ; }) }
diff --git a/src/views/wired/views/conditions/actor-has-hand-item/WiredConditionActorHasHandItem.tsx b/src/views/wired/views/conditions/actor-has-hand-item/WiredConditionActorHasHandItem.tsx index fe4aefe3..368b3114 100644 --- a/src/views/wired/views/conditions/actor-has-hand-item/WiredConditionActorHasHandItem.tsx +++ b/src/views/wired/views/conditions/actor-has-hand-item/WiredConditionActorHasHandItem.tsx @@ -26,9 +26,9 @@ export const WiredConditionActorHasHandItemView: FC<{}> = props =>
diff --git a/src/views/wired/views/conditions/actor-is-team-member/WiredConditionActorIsTeamMemberView.tsx b/src/views/wired/views/conditions/actor-is-team-member/WiredConditionActorIsTeamMemberView.tsx index 851088a3..b616db4b 100644 --- a/src/views/wired/views/conditions/actor-is-team-member/WiredConditionActorIsTeamMemberView.tsx +++ b/src/views/wired/views/conditions/actor-is-team-member/WiredConditionActorIsTeamMemberView.tsx @@ -25,10 +25,10 @@ export const WiredConditionActorIsTeamMemberView: FC<{}> = props =>
- { teamIds.map((value, index) => + { teamIds.map(value => { return ( -
+
setSelectedTeam(value) } />