diff options
Diffstat (limited to 'src/common/components')
-rw-r--r-- | src/common/components/NativeInterface.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/components/NativeInterface.js b/src/common/components/NativeInterface.js index b088de0e..d43b678c 100644 --- a/src/common/components/NativeInterface.js +++ b/src/common/components/NativeInterface.js @@ -37,7 +37,7 @@ const NativeInterface = () => { }, [setNotificationToken]); useEffectAsync(async () => { - if (user && !user.readonly && notificationToken) { + if (user && notificationToken) { window.localStorage.setItem('notificationToken', notificationToken); setNotificationToken(null); |