Skip to content

Commit

Permalink
resolve linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
mullenpaul committed Nov 14, 2023
1 parent a7eb555 commit cf2261c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tgui/packages/tgui/interfaces/MfdPanels/FiremissionPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { range } from 'common/collections';
import { DropshipEquipment, DropshipProps } from '../DropshipWeaponsConsole';
import { fmEditState, fmState, fmWeaponEditState, mfdState } from './stateManagers';

function sortWeapons(a: DropshipEquipment, b: DropshipEquipment): number {
const sortWeapons = (a: DropshipEquipment, b: DropshipEquipment) => {
return (a?.mount_point ?? 0) < (b?.mount_point ?? 0) ? -1 : 1;
}
};

const CreateFiremissionPanel = (props, context) => {
const { act } = useBackend(context);
Expand Down

0 comments on commit cf2261c

Please sign in to comment.