bug fixed complated

This commit is contained in:
Samandar Turgunboyev
2026-03-02 15:14:52 +05:00
parent ab363ca3b9
commit 4d5cc84850
6 changed files with 23 additions and 27 deletions

View File

@@ -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) => {