Skip to content

Commit

Permalink
πŸ› notifications: set initialized to true if no oneSignalAPPId
Browse files Browse the repository at this point in the history
  • Loading branch information
sebipap committed Jan 3, 2024
1 parent 8822a0f commit 95165fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/onesignal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default function useOneSignal({ userId }: OneSignalProperties) {
useEffect(() => {
const load = async function () {
if (!oneSignalAPPId) {
setInitialized(true);
return;
}

Expand Down

0 comments on commit 95165fb

Please sign in to comment.