From a322875b5411e888ba955332cdb3f90ffc4c87b3 Mon Sep 17 00:00:00 2001 From: Anshu Raj Date: Mon, 30 Sep 2019 16:32:30 +0530 Subject: [PATCH] Added UNSAFE flag to deprecated component lifecycle methods --- src/GooglePublisherTag.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }