bug fixed complated
This commit is contained in:
@@ -185,9 +185,11 @@ export default function CreateAdsScreens() {
|
||||
onSuccess: async (res, variables) => {
|
||||
if (variables.paymentType === 'payme') {
|
||||
await Linking.openURL(res.data.url);
|
||||
router.push('/(dashboard)/announcements');
|
||||
bottomSheetModalRef.current?.dismiss();
|
||||
router.push('/profile/my-ads');
|
||||
} else {
|
||||
router.push('/(dashboard)/announcements');
|
||||
bottomSheetModalRef.current?.dismiss();
|
||||
router.push('/profile/my-ads')
|
||||
}
|
||||
},
|
||||
onError: (err: AxiosError) => {
|
||||
|
||||
Reference in New Issue
Block a user