upd: hapus console.log
This commit is contained in:
@@ -11,8 +11,6 @@ export default function Feature() {
|
|||||||
const entityUser = useSelector((state: any) => state.user)
|
const entityUser = useSelector((state: any) => state.user)
|
||||||
const { colors } = useTheme();
|
const { colors } = useTheme();
|
||||||
|
|
||||||
console.log({entityUser})
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SafeAreaView style={{ flex: 1, backgroundColor: colors.background }}>
|
<SafeAreaView style={{ flex: 1, backgroundColor: colors.background }}>
|
||||||
<Stack.Screen
|
<Stack.Screen
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ export default function ViewLogin({ onValidate }: Props) {
|
|||||||
setLoadingLogin(true)
|
setLoadingLogin(true)
|
||||||
const response = await apiCheckPhoneLogin({ phone: `62${phone}` })
|
const response = await apiCheckPhoneLogin({ phone: `62${phone}` })
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
console.log({ response })
|
|
||||||
if (response.isWithoutOTP) {
|
if (response.isWithoutOTP) {
|
||||||
const encrypted = await encryptToken(response.id)
|
const encrypted = await encryptToken(response.id)
|
||||||
signIn(encrypted)
|
signIn(encrypted)
|
||||||
|
|||||||
Reference in New Issue
Block a user