From fcadf23a529a2815dc91e54b286488631f6ca5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=83=81=ED=98=84?= Date: Wed, 17 Jan 2024 18:00:52 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B8=8C=EB=9D=BC=EC=9A=B0=EC=A0=80=20?= =?UTF-8?q?=EC=BD=98=EC=86=94=20=EC=97=90=EB=9F=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../account/mypage/AccountMypagePwForm.js | 6 +- .../dashboard/DroneFlightSchedule.js | 9 +-- src/components/statistics/StatisticsTotal.js | 66 ++++++++++--------- src/modules/laanc/reducers/laancReducers.ts | 2 - 4 files changed, 42 insertions(+), 41 deletions(-) diff --git a/src/components/account/mypage/AccountMypagePwForm.js b/src/components/account/mypage/AccountMypagePwForm.js index e5185264..19919334 100644 --- a/src/components/account/mypage/AccountMypagePwForm.js +++ b/src/components/account/mypage/AccountMypagePwForm.js @@ -167,7 +167,7 @@ const AccountMypagePwForm = ({ activeTab }) => { onChange={onChanges} value={newPswd} name='newPswd' - bsSize='sm' + size='sm' autoComplete='off' placeholder='' /> @@ -187,7 +187,7 @@ const AccountMypagePwForm = ({ activeTab }) => { onChange={onChanges} value={newPswdConfirm} name='newPswdConfirm' - bsSize='sm' + size='sm' autoComplete='off' placeholder='' /> @@ -201,7 +201,7 @@ const AccountMypagePwForm = ({ activeTab }) => { color='primary' onClick={pwSubmit} disabled={resultOk} - size='sm' + bsSize='sm' > 저장 diff --git a/src/components/dashboard/DroneFlightSchedule.js b/src/components/dashboard/DroneFlightSchedule.js index 91f8e7b8..e132d630 100644 --- a/src/components/dashboard/DroneFlightSchedule.js +++ b/src/components/dashboard/DroneFlightSchedule.js @@ -131,17 +131,18 @@ export default function DroneFlightSchedule({ { const { value } = e.target; handlerDronOperationChange(value); }} > - {competentAgency?.map(i => ( - + {competentAgency?.map((i, index) => ( + ))} )} diff --git a/src/components/statistics/StatisticsTotal.js b/src/components/statistics/StatisticsTotal.js index 9ead81bb..810d3fbf 100644 --- a/src/components/statistics/StatisticsTotal.js +++ b/src/components/statistics/StatisticsTotal.js @@ -35,38 +35,40 @@ export default function StatisticsTotal({
- - - - - - - - - - - + + + + + + + + + + + + +
- {renderIcon(idx)} - {totalTitle[idx]} - - 기체명 - {i.name} -
- - - {renderData(i.year, titleName, idx)} - -
- - - {renderData(i.month, titleName, idx)} - - - - - {renderData(i.day, titleName, idx)} - -
+ {renderIcon(idx)} + {totalTitle[idx]} + + 기체명 + {i.name} +
+ + + {renderData(i.year, titleName, idx)} + +
+ + + {renderData(i.month, titleName, idx)} + + + + + {renderData(i.day, titleName, idx)} + +
diff --git a/src/modules/laanc/reducers/laancReducers.ts b/src/modules/laanc/reducers/laancReducers.ts index 589a0649..785bfb69 100644 --- a/src/modules/laanc/reducers/laancReducers.ts +++ b/src/modules/laanc/reducers/laancReducers.ts @@ -7,10 +7,8 @@ import * as Actions from '../actions/laancActions'; // action import { - LaancFlightData, laancControlData, laancState, - initFlightBas, resweatherData } from '../models/laancModels';