Setting of payload
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { FC, useState } from 'react';
|
||||
import { loadAircraft } from '../../configs/shared';
|
||||
import { LoadingState } from '../../types/general';
|
||||
import { WASMDataPax } from '../../types/WASMData';
|
||||
import Profile from '../profile/Profile';
|
||||
@@ -109,9 +110,7 @@ const Pax: FC<PaxProps> = ({ WASMData, username }) => {
|
||||
loadingState={loadingState}
|
||||
username={username}
|
||||
setLoadingState={setLoadingState}
|
||||
loadAircraft={() => {
|
||||
console.log('SET WEIGHT SB');
|
||||
}}
|
||||
loadAircraft={loadAircraft}
|
||||
/>
|
||||
)}
|
||||
{((username && selectedTab === 1) || (!username && selectedTab === 0)) && (
|
||||
@@ -119,9 +118,7 @@ const Pax: FC<PaxProps> = ({ WASMData, username }) => {
|
||||
WASMData={WASMData}
|
||||
loadingState={loadingState}
|
||||
setLoadingState={setLoadingState}
|
||||
loadAircraft={() => {
|
||||
console.log('SET WEIGHT ZFW');
|
||||
}}
|
||||
loadAircraft={loadAircraft}
|
||||
/>
|
||||
)}
|
||||
{((username && selectedTab === 2) || (!username && selectedTab === 1)) && (
|
||||
@@ -129,9 +126,7 @@ const Pax: FC<PaxProps> = ({ WASMData, username }) => {
|
||||
WASMData={WASMData}
|
||||
loadingState={loadingState}
|
||||
setLoadingState={setLoadingState}
|
||||
loadAircraft={() => {
|
||||
console.log('SET WEIGHT STATIONS');
|
||||
}}
|
||||
loadAircraft={loadAircraft}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user