Skip to content

Commit

Permalink
fix: Update view saves button issue (#10698)
Browse files Browse the repository at this point in the history
fix view saves button issue

Co-authored-by: brainbicycle <brian.beckerle@artsymail.com>
Co-authored-by: Carlos <araujobarret@gmail.com>
  • Loading branch information
3 people committed Sep 4, 2024
1 parent 3975e34 commit eff7cc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/Components/ArtworkLists/useArtworkListsToast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const useArtworkListToast = (bottomPadding?: number | null) => {
showToast(message, {
cta: "View List",
onPress: () => {
navigate(`/artwork-list/${artworkList.internalID}`)
navigate(`/settings/saves/${artworkList.internalID}`)
},
backgroundColor: "green100",
})
Expand All @@ -77,7 +77,7 @@ export const useArtworkListToast = (bottomPadding?: number | null) => {
showToast(message, {
cta: "View Saves",
onPress: () => {
navigate("/artwork-lists")
navigate("/settings/saves")
},
backgroundColor: "green100",
})
Expand Down
1 change: 1 addition & 0 deletions src/app/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ function getDomainMap(): Record<string, RouteMatcher[] | null> {
addRoute("/settings/alerts/:savedSearchAlertId/edit", "EditSavedSearchAlert"),
addRoute("/settings/alerts/:alertId/artworks", "AlertArtworks"),
addRoute("/settings/saves", "SavedArtworks"),
addRoute("/settings/saves/:listID", "ArtworkList"),
addRoute("/settings/dark-mode", "DarkModeSettings"),
addRoute("/show/:showID", "Show"),
addRoute("/show/:showID/info", "ShowMoreInfo"),
Expand Down

0 comments on commit eff7cc3

Please sign in to comment.