Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Zonespace27 committed Aug 25, 2023
1 parent 07eb723 commit ff5c795
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tgui/packages/tgui/interfaces/VultureScope.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { BooleanLike } from '../../common/react';
import { useBackend } from '../backend';
import { Box, Button, ColorBox, Flex, Stack, Icon, Input, LabeledList, Section, Table, Divider, ProgressBar } from '../components';
import { Box, Button, Flex, Stack, Icon, Section, ProgressBar } from '../components';
import { Window } from '../layouts';

type ScopeData = {
Expand Down Expand Up @@ -55,7 +55,7 @@ const OffsetAdjuster = (props, context) => {
<OffsetDirection dir={Direction.West} />
<Flex.Item grow={1} basis={0}>
<Button
disabled={true}
disabled
textAlign="center"
color="yellow"
lineHeight={3}
Expand Down Expand Up @@ -87,7 +87,7 @@ const OffsetDirection = (props, context) => {
content={DirectionAbbreviation[dir]}
tooltip={`Adjusts the scope's offset to the ${DirectionAbbreviation[dir]}`}
disabled={
data.valid_offset_dirs.indexOf(dir) == -1 || data.scope_cooldown
data.valid_offset_dirs.indexOf(dir) === -1 || data.scope_cooldown
}
textAlign="center"
onClick={() => act('adjust_dir', { offset_dir: dir })}
Expand Down Expand Up @@ -116,7 +116,7 @@ const PositionAdjuster = (props, context) => {
<ScopePosition dir={Direction.West} />
<Flex.Item grow={1} basis={0}>
<Button
disabled={true}
disabled
textAlign="center"
color="yellow"
lineHeight={3}
Expand Down Expand Up @@ -148,7 +148,7 @@ const ScopePosition = (props, context) => {
content={DirectionAbbreviation[dir]}
tooltip={`Adjusts the scope's position to the ${DirectionAbbreviation[dir]}`}
disabled={
data.valid_adjust_dirs.indexOf(dir) == -1 || data.scope_cooldown
data.valid_adjust_dirs.indexOf(dir) === -1 || data.scope_cooldown
}
textAlign="center"
onClick={() => act('adjust_position', { position_dir: dir })}
Expand Down

0 comments on commit ff5c795

Please sign in to comment.