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

Commit a1bd047

Browse files
committed
change the data type of bod from month to date
1 parent aed2d9a commit a1bd047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Profile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class Profile extends React.Component {
111111
<h2>Date of Birth</h2>
112112
<hr></hr>
113113
<h6>Choose your Birthday</h6>
114-
<input type="month" name="dob" value={this.state.currentUser.dob} onChange={this.handleInputChange}/>
114+
<input type="date" name="dob" value={this.state.currentUser.dob} onChange={this.handleInputChange}/>
115115
</div>
116116
<div className="column">
117117
<h2> Location </h2>

0 commit comments

Comments
 (0)