Skip to content

Commit

Permalink
prettier run
Browse files Browse the repository at this point in the history
  • Loading branch information
hislittlecuzingames committed May 29, 2024
1 parent 0bbe017 commit 407a26d
Showing 1 changed file with 17 additions and 21 deletions.
38 changes: 17 additions & 21 deletions tgui/packages/tgui/interfaces/DropshipFlightControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ interface DropshipNavigationProps extends NavigationProps {
has_flyby_skill: 0 | 1;

playing_launch_announcement_alarm: boolean;
playing_cycle_launch_announcement_alarm: boolean
playing_cycle_launch_announcement_alarm: boolean;
}

const DropshipDoorControl = () => {
Expand Down Expand Up @@ -387,30 +387,26 @@ const LaunchAnnouncementAlarm = () => {
<Section
title="Launch Announcement Alarm"
buttons={
(!data.playing_launch_announcement_alarm ?
( <PlayLaunchAnnouncementAlarm /> )
:
( <StopLaunchAnnouncementAlarm /> )
!data.playing_launch_announcement_alarm ? (
<PlayLaunchAnnouncementAlarm />
) : (
<StopLaunchAnnouncementAlarm />
)
}
>
<Stack vertical className="AnnouncementAlarms">
{
(!data.playing_launch_announcement_alarm ?
( <PlayLaunchAnnouncementAlarm /> )
:
( <StopLaunchAnnouncementAlarm /> )
)
}
{
(!data.playing_cycle_launch_announcement_alarm ?
( <PlayCycleLaunchAnnouncementAlarm /> )
:
( <StopCycleLaunchAnnouncementAlarm /> )
)
}
</Stack>
</Section>
{!data.playing_launch_announcement_alarm ? (
<PlayLaunchAnnouncementAlarm />
) : (
<StopLaunchAnnouncementAlarm />
)}
{!data.playing_cycle_launch_announcement_alarm ? (
<PlayCycleLaunchAnnouncementAlarm />
) : (
<StopCycleLaunchAnnouncementAlarm />
)}
</Stack>
</Section>
);
};

Expand Down

0 comments on commit 407a26d

Please sign in to comment.