Skip to content

Commit 25aa810

Browse files
committed
adblock alert inside adsense component v2
1 parent 82a1246 commit 25aa810

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

MM.WEB/Shared/GoogleAdSense.razor

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
{
3636
try
3737
{
38+
await base.OnAfterRenderAsync(firstRender);
39+
3840
if (firstRender && !IsLocalhost && !ActiveSubscription)
3941
{
4042
var country = await AppStateStatic.GetCountry(IpInfoApi, JsRuntime);

0 commit comments

Comments
 (0)