diff options
author | Ivan Chen <ivan@tagg.id> | 2021-04-23 15:34:01 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-04-23 15:34:01 -0400 |
commit | 285d00db1e63342fad890edc2e1fcd09f0301cbd (patch) | |
tree | 2579157561f52930b85f8a00a402002434989e21 | |
parent | 1f04e445e9d317bc141624a440a2c1e55f8704b3 (diff) |
fixed device not registering bug
-rw-r--r-- | src/routes/Routes.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |