diff --git a/tgui/packages/tgui/interfaces/CustomShuttleConsole.js b/tgui/packages/tgui/interfaces/CustomShuttleConsole.js index b1a764e99b..f6d76754a7 100644 --- a/tgui/packages/tgui/interfaces/CustomShuttleConsole.js +++ b/tgui/packages/tgui/interfaces/CustomShuttleConsole.js @@ -1,3 +1,4 @@ +/* eslint-disable react/jsx-closing-tag-location */ import { useBackend } from '../backend'; import { Box, Button, Flex, Icon, LabeledList, Modal, Section, Table, Tooltip } from '../components'; import { Window } from '../layouts'; @@ -54,21 +55,21 @@ export const CustomShuttleConsole = (props, context) => { {docked_location} - {shuttle_mass / 10}ton{shuttle_mass != 1 ? "s" : null} + {shuttle_mass / 10}ton{shuttle_mass !== 1 ? "s" : null} - {engine_force}Kn ({engines} engine{engines != 1 ? "s" : null}) + {engine_force}Kn ({engines} engine{engines !== 1 ? "s" : null}) {calculated_speed}ms{-1} {calculated_speed < 1 ? : null} {calculated_non_operational_thrusters.len ? - {calculated_non_operational_thrusters} thruster{calculated_non_operational_thrusters != 1 ? "s are" : " is"} not operational. + {calculated_non_operational_thrusters} thruster{calculated_non_operational_thrusters !== 1 ? "s are" : " is"} not operational. : null} - {calculated_consumption} unit{calculated_consumption != 1 ? "s" : null} per travel + {calculated_consumption} unit{calculated_consumption !== 1 ? "s" : null} per travel {calculated_cooldown}s @@ -82,23 +83,23 @@ export const CustomShuttleConsole = (props, context) => { color="bad"> No valid destinations - ) || ( + ) || ( {locations.map(location => ( - + {location.name} ))}
({location.dist}m) -
- )} + )}