Skip to content

Commit

Permalink
Update forgotten /entry URLs
Browse files Browse the repository at this point in the history
Amends #345.
  • Loading branch information
ezwelty committed Jan 13, 2023
1 parent 6c74862 commit e1ae54a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/form/EditableForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const EditLocationForm = (props) => (
Form={LocationForm}
getFormData={getLocationById}
convertFormData={locationToForm}
getRedirectLink={(location) => `/entry/${location.id}`}
getRedirectLink={(location) => `/locations/${location.id}`}
{...props}
/>
)
Expand Down
2 changes: 1 addition & 1 deletion src/components/form/LocationNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const LocationNav = () => {
size={54}
color={theme.green}
onClick={() => {
history.push('/entry/new/details')
history.push('/locations/new/details')
}}
/>
</>
Expand Down

0 comments on commit e1ae54a

Please sign in to comment.