Skip to content

Commit

Permalink
style: remove extra braces
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed May 15, 2024
1 parent 3c3456e commit 5b4107f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/group/components/GroupList.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const GroupList = () => {
<Typography>First</Typography>
<Typography>
Prefix
<Link component={RouterLink} to={`/groups/new`}>
<Link component={RouterLink} to="/groups/new">
to add
</Link>
.
Expand Down
2 changes: 1 addition & 1 deletion src/landscape/components/LandscapeForm/AffiliationStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const YearSelect = props => {
labelId={`${id}-label`}
id={id}
>
<MenuItem value={''}>
<MenuItem value="">
{t('landscape.form_profile_partnership_year_placeholder')}
</MenuItem>
{_.range(PARTNERSHIP_START_YEAR, new Date().getFullYear() + 1)
Expand Down
2 changes: 1 addition & 1 deletion src/landscape/components/LandscapeForm/KeyInfoStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const CountrySelector = props => {
)
}
>
<MenuItem value={''}>{t('landscape.form_location_select')}</MenuItem>
<MenuItem value="">{t('landscape.form_location_select')}</MenuItem>
{countries.map((country, index) => (
<MenuItem key={index} value={country.code}>
{country.name}
Expand Down
2 changes: 1 addition & 1 deletion src/landscape/components/LandscapeForm/ProfileImageStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const ProfileImageStep = props => {
onCancel={() => navigate(-1)}
updatedValues={updatedValues}
onNext={setUpdatedLandscape}
nextLabel={'landscape.form_save_label'}
nextLabel="landscape.form_save_label"
saveDisabled={!updatedValues?.profileImage?.result}
/>
</>
Expand Down
4 changes: 2 additions & 2 deletions src/landscape/components/LandscapeList.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const LandscapeList = () => {
<Trans i18nKey="landscape.list_map_help">
<Typography>
Prefix
<Link component={RouterLink} to={`/landscapes/new`}>
<Link component={RouterLink} to="/landscapes/new">
add link
</Link>
or
Expand All @@ -218,7 +218,7 @@ const LandscapeList = () => {
<Typography>First</Typography>
<Typography>
Prefix
<Link component={RouterLink} to={`/landscapes/new`}>
<Link component={RouterLink} to="/landscapes/new">
to add
</Link>
.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const ColumnSelect = props => {
)
}
>
<MenuItem sx={{ color: 'gray.mid2' }} value={''}>
<MenuItem sx={{ color: 'gray.mid2' }} value="">
{t(placeholder)}
</MenuItem>
{options.map((option, index) => (
Expand Down

0 comments on commit 5b4107f

Please sign in to comment.