From f6560023d72f993f210caa2215ad816ea11c74a0 Mon Sep 17 00:00:00 2001 From: ritikjaiswal75 Date: Sat, 19 Aug 2023 15:57:13 +0530 Subject: [PATCH] remove unused dataJson variable --- src/components/Modal/CustomModal.tsx | 2 +- src/screens/AuthScreen/AuthScreen.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Modal/CustomModal.tsx b/src/components/Modal/CustomModal.tsx index 79c26bcf..b0c03ecf 100644 --- a/src/components/Modal/CustomModal.tsx +++ b/src/components/Modal/CustomModal.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { Alert, Modal, StyleSheet, Text, Pressable, View } from 'react-native'; const message = 'Press Done button once you verify yourself from My-site'; -const CustomModal = ({ modalVisible, setModalVisible, qrCodeLogin}) => { +const CustomModal = ({ modalVisible, setModalVisible, qrCodeLogin }) => { console.log('mess', message); return ( { }, // ok -> Modal (press done button once you verify yourself from mysite) -> Done > loader? -> get call implementation =?> userdata => autorize -> if fail ? toast msgs ? homscreen ]); } else { - const dataJson = await data.json(); + await data.json(); Toast.show({ type: 'error', text1: 'Something went wrong, please try again',