diff --git a/composables/users.ts b/composables/users.ts
index e4dce99c..0cdf110a 100644
--- a/composables/users.ts
+++ b/composables/users.ts
@@ -183,6 +183,9 @@ export function getUsersIndexByUserId(userId: string) {
 }
 
 export async function removePushNotificationData(user: UserLogin, fromSWPushManager = true) {
+  if (!user.pushSubscription)
+    return
+
   // clear push subscription
   user.pushSubscription = undefined
   const { acct } = user.account