Skip to content

Commit

Permalink
Remove the moment()
Browse files Browse the repository at this point in the history
  • Loading branch information
JiashuHarryHuang committed Oct 7, 2023
1 parent 61a922b commit 35909f5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions components/hacker/HackerDash.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,7 @@ export default function HackerDash({ userApplicationStatus, setUserApplicationSt
name="dateOfBirth"
label={<p className={styles.Label}>Date of Birth</p>}
rules={[{ required: true, message: 'Please select your date of birth!' }]}>
<DatePicker
placeholder="MM-DD-YYYY"
format="MM-DD-YYYY"
defaultPickerValue={moment().subtract(18, 'years')}
/>
<DatePicker placeholder="MM-DD-YYYY" format="MM-DD-YYYY" />
</Form.Item>
<Form.Item
className={styles.FormItem}
Expand Down

0 comments on commit 35909f5

Please sign in to comment.