update eslint no-console rule

This commit is contained in:
Akinwale Ariwodola 2020-01-20 21:39:12 +01:00
parent 32c1770c34
commit 96763cdec7
2 changed files with 1 additions and 1 deletions

View file

@ -10,6 +10,7 @@
"__": true
},
"rules": {
"no-console": 2,
"no-multi-spaces": 0,
"new-cap": 0,
"prefer-promise-reject-errors": 0,

View file

@ -57,7 +57,6 @@ class SplashScreen extends React.PureComponent {
if (launchUrl) {
navigateToUri(navigation, transformUrl(launchUrl));
} else if (lastRouteInStack) {
console.log(lastRouteInStack);
// no launch url, check if there's a last route in stack to navigate to.
const { route, params } = lastRouteInStack;
if (!DrawerRoutes.includes(route) && isURIValid(route)) {