Skip to content

Commit

Permalink
fix: navigate to the add artist step when starting submission (#11284)
Browse files Browse the repository at this point in the history
  • Loading branch information
dariakoko authored Dec 18, 2024
1 parent 08160fd commit 20e8cc2
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export const SubmitArtworkFromMyCollectionArtworks: React.FC<{}> = () => {

setIsLoading(false)

navigation.navigate("AddTitle")
setCurrentStep("AddTitle")
navigation.navigate("SelectArtist")
setCurrentStep("SelectArtist")
}
} catch (error) {
console.error(
Expand Down Expand Up @@ -105,7 +105,7 @@ export const SubmitArtworkFromMyCollectionArtworks: React.FC<{}> = () => {
}}
>
My Collection.{"\n"}
</LinkText>{" "}
</LinkText>
</Text>
</Message>

Expand All @@ -114,8 +114,8 @@ export const SubmitArtworkFromMyCollectionArtworks: React.FC<{}> = () => {
<Button
block
onPress={() => {
navigation.navigate("AddTitle")
setCurrentStep("AddTitle")
navigation.navigate("SelectArtist")
setCurrentStep("SelectArtist")
}}
>
Add Details Manually
Expand Down

0 comments on commit 20e8cc2

Please sign in to comment.