Browse Source

브라우저 콘솔 에러 수정

master
박상현 8 months ago
parent
commit
fcadf23a52
  1. 6
      src/components/account/mypage/AccountMypagePwForm.js
  2. 9
      src/components/dashboard/DroneFlightSchedule.js
  3. 2
      src/components/statistics/StatisticsTotal.js
  4. 2
      src/modules/laanc/reducers/laancReducers.ts

6
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'
>
저장
</Button.Ripple>

9
src/components/dashboard/DroneFlightSchedule.js

@ -131,17 +131,18 @@ export default function DroneFlightSchedule({
<Input
id='groupSelect'
type='select'
size='sm'
bsSize='sm'
style={{ minWidth: '120px' }}
s
onChange={e => {
const { value } = e.target;
handlerDronOperationChange(value);
}}
>
<option value='all'>그룹선택</option>
{competentAgency?.map(i => (
<option value={i.value}>{i.text}</option>
{competentAgency?.map((i, index) => (
<option value={i.value} key={index}>
{i.text}
</option>
))}
</Input>
)}

2
src/components/statistics/StatisticsTotal.js

@ -35,6 +35,7 @@ export default function StatisticsTotal({
<Col md='4' key={idx}>
<div>
<table className='statistics-table'>
<tbody>
<tr>
<th rowSpan='3'>
<span>{renderIcon(idx)}</span>
@ -67,6 +68,7 @@ export default function StatisticsTotal({
</span>
</td>
</tr>
</tbody>
</table>
</div>
</Col>

2
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';

Loading…
Cancel
Save