Skip to content

Commit c54f470

Browse files
authored
Merge pull request fullstackreact#375 from JeremiahChurch/master
Fix deprecation message for componentWillReceiveProps
2 parents 33f69e9 + ee55828 commit c54f470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GoogleApiComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const wrapper = input => WrappedComponent => {
5555
this.mapRef=React.createRef();
5656
}
5757

58-
componentWillReceiveProps(props) {
58+
UNSAFE_componentWillReceiveProps(props) {
5959
// Do not update input if it's not dynamic
6060
if (typeof input !== 'function') {
6161
return;

0 commit comments

Comments
 (0)