From 285d00db1e63342fad890edc2e1fcd09f0301cbd Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Fri, 23 Apr 2021 15:34:01 -0400 Subject: fixed device not registering bug --- src/routes/Routes.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/routes/Routes.tsx b/src/routes/Routes.tsx index 6fc766ab..c2efbb15 100644 --- a/src/routes/Routes.tsx +++ b/src/routes/Routes.tsx @@ -54,7 +54,7 @@ const Routes: React.FC = () => { fcmService.setUpPushNotifications(); fcmService.sendFcmTokenToServer(); } - }, []); + }); useEffect(() => { if (loggedInUserId) { -- cgit v1.2.3-70-g09d2