Skip to content

Commit 4408bb0

Browse files
committed
fix(webpush): remove unnecessary dependency for user ID verification
Signed-off-by: 0xsysr3ll <[email protected]>
1 parent 0143eaa commit 4408bb0

File tree

1 file changed

+1
-1
lines changed
  • src/components/UserProfile/UserSettings/UserNotificationSettings/UserNotificationsWebPush

1 file changed

+1
-1
lines changed

src/components/UserProfile/UserSettings/UserNotificationSettings/UserNotificationsWebPush/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const UserWebPushSettings = () => {
172172
if (user?.id) {
173173
verifyWebPush();
174174
}
175-
}, [user?.id, currentSettings, dataDevices]);
175+
}, [user?.id, currentSettings]);
176176

177177
useEffect(() => {
178178
const getSubscriptionEndpoint = async () => {

0 commit comments

Comments
 (0)