diff --git a/src/router/Router.js b/src/router/Router.js index a28dd7d..7daac86 100644 --- a/src/router/Router.js +++ b/src/router/Router.js @@ -73,11 +73,7 @@ const Router = () => { action = route.meta.action ? route.meta.action : null; resource = route.meta.resource ? route.meta.resource : null; } - if ( - isLogin === false && - !route.meta?.authRoute && - !window.navigator.userAgent === 'ReactSnap' - ) { + if (isLogin === false && !route.meta?.authRoute) { return ; } else { // switch (props.route.path) {