Skip to content

Commit

Permalink
chore: removed extra no-internet alert
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaykumar97 committed Jan 12, 2025
1 parent f94e0b1 commit 08bf76b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions template/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ import {navigationRef} from './utilities/navigationService';

function App(): React.JSX.Element {
const {isConnected} = useNetInfo();
const {t} = useTranslation();

useEffect(() => {
if (isConnected === false) {
Alert.alert(t('noInternetConnected'), t('checkInternetConnection'));
}
}, [isConnected, t]);

if (isConnected === false) {
return <NoInternetBanner />;
Expand Down

0 comments on commit 08bf76b

Please sign in to comment.