invertase / react-native-google-mobile-ads

React Native Google Mobile Ads enables you to monetize your app with AdMob.
https://docs.page/invertase/react-native-google-mobile-ads
Other
625 stars 121 forks source link

fix: Typescript error in the docs #578

Closed lucabc2000 closed 1 month ago

lucabc2000 commented 1 month ago

Description

The code provided by the docs creates a TypeScript error: "Argument of type 'string' is not assignable to parameter of type 'SetStateAction'.ts(2345)." By initially setting the state to a string, the error is fixed.

CLAassistant commented 1 month ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Luca Companjen seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

mikehardy commented 1 month ago

:tada: This PR is included in version 13.3.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: