diff options
| author | Shravya Ramesh <37447613+shravyaramesh@users.noreply.github.com> | 2021-04-23 15:06:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-23 15:06:01 -0700 |
| commit | a27963c51aa2c0b65dd23b5e7211addf5995046f (patch) | |
| tree | 3c2b2328384630b6388ed77773ee6470e17df23d /src/routes/Routes.tsx | |
| parent | ce5bf93fef3f5108e0dca35bf24accb4d9d654bb (diff) | |
| parent | 5e247c2045fa53616008aae73f0192ffed048709 (diff) | |
Merge branch 'master' into tma-807-onpress-indicator
Diffstat (limited to 'src/routes/Routes.tsx')
| -rw-r--r-- | src/routes/Routes.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/Routes.tsx b/src/routes/Routes.tsx index 6fc766ab..384021bc 100644 --- a/src/routes/Routes.tsx +++ b/src/routes/Routes.tsx @@ -52,9 +52,9 @@ const Routes: React.FC = () => { useEffect(() => { if (userId) { fcmService.setUpPushNotifications(); - fcmService.sendFcmTokenToServer(); + fcmService.sendFcmTokenToServer(chatClient); } - }, []); + }); useEffect(() => { if (loggedInUserId) { |
