Skip to content

Commit

Permalink
Lint and format
Browse files Browse the repository at this point in the history
  • Loading branch information
epadams committed Apr 22, 2024
1 parent f054ad4 commit ef1fa2e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions FU.SPA/src/components/pages/ProfileSettings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ export default function ProfileSettings() {
setDateOfBirth(e);
}
} catch (e) {
console.error("Error in DOB change: ", e);
console.error('Error in DOB change: ', e);
}

};

const handleSubmit = async (e) => {
Expand Down Expand Up @@ -182,7 +181,13 @@ export default function ProfileSettings() {
error={dateError}
fullWidth
onChange={(newValue) => handleDOBChange(newValue)}
slotProps={{ field: { clearable: true, helperText: dateError, error: !!dateError }}}
slotProps={{
field: {
clearable: true,
helperText: dateError,
error: !!dateError,
},
}}
/>
</LocalizationProvider>
<TextField
Expand Down

0 comments on commit ef1fa2e

Please sign in to comment.