upd: login

Deskripsi:
- tinggi view
- toast error kode verification

No Issues
This commit is contained in:
2025-08-11 17:08:55 +08:00
parent f929791075
commit 0f5a56c612
3 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ export default function ViewLogin({ onValidate }: Props) {
return (
<SafeAreaView>
<ToastCustom />
<View style={Styles.p20}>
<View style={[Styles.p20, Styles.h100]}>
<View style={{ alignItems: "center", marginVertical: 50 }}>
<Image
source={require("../../assets/images/splash-icon.png")}

View File

@@ -35,7 +35,7 @@ export default function ViewVerification({ phone, otp }: Props) {
if (value === otpFix.toString()) {
login()
} else {
return Toast.show({ type: 'error', text1: 'Kode OTP tidak sesuai' });
return Toast.show({ type: 'small', text1: 'Kode OTP tidak sesuai' });
}
}

View File

@@ -3,7 +3,7 @@ import axios from 'axios';
const api = axios.create({
// baseURL: 'http://10.0.2.2:3000/api',
// baseURL: 'https://stg-darmasaba.wibudev.com/api',
baseURL: 'http://192.168.1.89:3000/api',
baseURL: 'http://192.168.1.110:3000/api',
});
export const apiCheckPhoneLogin = async (body: { phone: string }) => {