Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
Removed id from CertificateInputFields
Browse files Browse the repository at this point in the history
  • Loading branch information
dc-andysign committed Jan 24, 2024
1 parent 93fc78f commit 977f03f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/pages/components/CertificateInputFields.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,13 @@ export default function CertificateInputFields({
val={sdVal}
onChangeVal={handleSdChgeVal}
name="sd"
id="sd"
/>
</InputHalfWrap>
<InputHalfWrap>
<InputFieldTime
val={stVal}
onChangeVal={handleStChgeVal}
name="st"
id="st"
/>
</InputHalfWrap>
</InputWrapLeftDiv>
Expand All @@ -60,15 +58,13 @@ export default function CertificateInputFields({
val={edVal}
onChangeVal={handleEdChgeVal}
name="ed"
id="ed"
/>
</InputHalfWrap>
<InputHalfWrap>
<InputFieldTime
val={etVal}
onChangeVal={handleEtChgeVal}
name="et"
id="et"
/>
</InputHalfWrap>
</InputWrapRightDiv>
Expand Down
3 changes: 1 addition & 2 deletions src/pages/components/InputFieldDate.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ import styled from 'styled-components'

import BgIconDateSVG from '../../assets/images/icon-date.svg'

export default function InputFieldDate({ val, onChangeVal, name, id }) {
export default function InputFieldDate({ val, onChangeVal, name }) {
return (
<>
<Label2>
<BgSpan2>Date</BgSpan2>
<Input2
name={name}
id={id} // DELETE
value={val}
onChange={(e) => onChangeVal(e)}
placeholder="01/01/2024"
Expand Down
3 changes: 1 addition & 2 deletions src/pages/components/InputFieldTime.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ import styled from 'styled-components'

import BgIconTimeSVG from '../../assets/images/icon-time.svg'

export default function InputFieldTime({ val, onChangeVal, name, id }) {
export default function InputFieldTime({ val, onChangeVal, name }) {
return (
<>
<Label2>
<BgSpan2>Time</BgSpan2>
<Input2
name={name}
id={id} // DELETE
value={val}
onChange={(e) => onChangeVal(e)}
placeholder="00:00"
Expand Down

0 comments on commit 977f03f

Please sign in to comment.