Skip to content

Commit

Permalink
remove unused dataJson variable
Browse files Browse the repository at this point in the history
  • Loading branch information
RitikJaiswal75 committed Aug 19, 2023
1 parent ebd30d0 commit f656002
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Modal/CustomModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<Modal
Expand Down
2 changes: 1 addition & 1 deletion src/screens/AuthScreen/AuthScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const AuthScreen = () => {
}, // 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',
Expand Down

0 comments on commit f656002

Please sign in to comment.