Skip to content

Commit

Permalink
refactor: onesignal condition to be not extension (#3670)
Browse files Browse the repository at this point in the history
  • Loading branch information
sshanzel authored Oct 14, 2024
1 parent 6076815 commit d90d529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/src/contexts/PushNotificationContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function PushNotificationContextProvider({
const subscriptionCallbackRef =
useRef<SubscriptionCallback>(subscriptionCallback);
subscriptionCallbackRef.current = subscriptionCallback;
const isEnabled = !!user && !isTesting;
const isEnabled = !!user && !isTesting && !isExtension;
const key = generateQueryKey(RequestKey.OneSignal, user);
const client = useQueryClient();
const {
Expand Down

0 comments on commit d90d529

Please sign in to comment.