From 63ee2ba2baa86bd51ff669eb722607c56c1d301e Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 17 Dec 2022 11:01:43 -0600 Subject: [PATCH] Bundle: componentWillReceiveProps --> UNSAFE_componentWillReceiveProps --- app/soapbox/features/ui/components/bundle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/ui/components/bundle.tsx b/app/soapbox/features/ui/components/bundle.tsx index 79851b978..f2fe4413d 100644 --- a/app/soapbox/features/ui/components/bundle.tsx +++ b/app/soapbox/features/ui/components/bundle.tsx @@ -45,7 +45,7 @@ class Bundle extends React.PureComponent { this.load(this.props); } - componentWillReceiveProps(nextProps: BundleProps) { + UNSAFE_componentWillReceiveProps(nextProps: BundleProps) { if (nextProps.fetchComponent !== this.props.fetchComponent) { this.load(nextProps); }