diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/routes/Routes.tsx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/routes/Routes.tsx b/src/routes/Routes.tsx index 768a7604..a5383a47 100644 --- a/src/routes/Routes.tsx +++ b/src/routes/Routes.tsx @@ -14,7 +14,6 @@ const Routes: React.FC = () => { user: {userId}, } = useSelector((state: RootState) => state.user); const dispatch = useDispatch(); - const {isOnboardedUser} = useSelector((state: RootState) => state.user); /** * Load the user from AsyncStorage if any @@ -42,12 +41,8 @@ const Routes: React.FC = () => { }, [dispatch, userId]); useEffect(() => { - // after onboarding, or user signed in (after reinstall) if (userId) { fcmService.setUpPushNotifications(); - } - // user just onboarded - if (isOnboardedUser) { fcmService.sendFcmTokenToServer(); } }); |