Skip to content

Commit

Permalink
Fixed linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianLutzCL committed Nov 25, 2022
1 parent 73fd399 commit 2aeba1e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/instruments/src/EFB/Ground/Pages/Payload/Payload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ export const Payload = () => {
...desiredFlags, ...stationSize,
]);


// TODO: Rework A32NX_Boarding to make boardingRateMultiplier obsolete. (msDelay)
const calculateBoardingTime = () => {
let estimatedTimeSeconds = 0;
Expand Down Expand Up @@ -782,7 +781,7 @@ export const Payload = () => {
<TooltipWrapper text={t('Ground.Payload.TT.StartBoarding')}>
<button
type="button"
className={`flex justify-center rounded-lg items-center ml-auto w-24 h-12
className={`flex justify-center rounded-lg items-center ml-auto w-24 h-12
${boardingStatusClass} bg-current`}
onClick={() => setBoardingStarted(!boardingStarted)}
>
Expand All @@ -796,7 +795,7 @@ export const Payload = () => {
<TooltipWrapper text={t('Ground.Payload.TT.StartDeboarding')}>
<button
type="button"
className={`flex justify-center items-center ml-1 w-16 h-12 text-theme-highlight bg-current rounded-lg
className={`flex justify-center items-center ml-1 w-16 h-12 text-theme-highlight bg-current rounded-lg
${totalPax === 0 && totalCargo === 0 && 'opacity-20 pointer-events-none'}`}
onClick={() => handleDeboarding()}
>
Expand All @@ -818,8 +817,8 @@ export const Payload = () => {
&& (
<TooltipWrapper text={t('Ground.Payload.TT.FillPayloadFromSimbrief')}>
<div
className={`flex justify-center items-center px-2 h-auto text-theme-body
hover:text-theme-highlight bg-theme-highlight hover:bg-theme-body
className={`flex justify-center items-center px-2 h-auto text-theme-body
hover:text-theme-highlight bg-theme-highlight hover:bg-theme-body
rounded-md rounded-l-none border-2 border-theme-highlight transition duration-100`}
onClick={setSimBriefValues}
>
Expand Down

0 comments on commit 2aeba1e

Please sign in to comment.