Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Commit

Permalink
fix: initialize useAppOpenAd on dismissed
Browse files Browse the repository at this point in the history
  • Loading branch information
wjaykim committed Nov 28, 2021
1 parent 54ca054 commit dd4b929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useFullScreenAd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function useFullScreenAd<
ad.addEventListener('adDismissed', () => {
setAdDismissed(true);
if (
ad.type !== 'AppOpen' &&
ad.type === 'AppOpen' ||
(ad.options as FullScreenAdOptions).loadOnDismissed
) {
initialize();
Expand Down

0 comments on commit dd4b929

Please sign in to comment.