refactor: router.replace to router.push and fix typos
This commit is contained in:
committed by
GitHub
parent
eb7e052d75
commit
19f0e71609
@@ -24,7 +24,7 @@ const ConfirmRide = () => {
|
||||
<View className="mx-5 mt-10">
|
||||
<CustomButton
|
||||
title="Select Ride"
|
||||
onPress={() => router.replace("/(root)/book-ride")}
|
||||
onPress={() => router.push("/(root)/book-ride")}
|
||||
/>
|
||||
</View>
|
||||
)}
|
||||
|
||||
@@ -42,7 +42,7 @@ const FindRide = () => {
|
||||
|
||||
<CustomButton
|
||||
title="Find now"
|
||||
onPress={() => router.replace("/(root)/confirm-ride")}
|
||||
onPress={() => router.push("/(root)/confirm-ride")}
|
||||
className="mt-5"
|
||||
/>
|
||||
</RideLayout>
|
||||
|
||||
Reference in New Issue
Block a user