diff --git a/src/GooglePublisherTag.jsx b/src/GooglePublisherTag.jsx index c808d60..c6a0875 100644 --- a/src/GooglePublisherTag.jsx +++ b/src/GooglePublisherTag.jsx @@ -258,7 +258,7 @@ export default class GooglePublisherTag extends PureComponent { }); } - componentWillReceiveProps(props) { + UNSAFE_componentWillReceiveProps(props) { this.update(props); }