Skip to content

Commit

Permalink
Update src/hooks/useRewardedAd.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Dylan <dylancompanjen@gmail.com>
  • Loading branch information
mikehardy and dylancom authored Apr 8, 2022
1 parent 352845a commit b0ce5f5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hooks/useRewardedAd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export function useRewardedAd(

useDeepCompareEffect(() => {
setRewardedAd(() => {
//prevAd?.destroy();
return adUnitId ? RewardedAd.createForAdRequest(adUnitId, requestOptions) : null;
});
}, [adUnitId, requestOptions]);
Expand Down

0 comments on commit b0ce5f5

Please sign in to comment.