Skip to content

Commit b778dcd

Browse files
Format
1 parent cf5e31a commit b778dcd

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

test/lifecycle_test/component.dart

+5-8
Original file line numberDiff line numberDiff line change
@@ -176,22 +176,19 @@ class _LifecycleTest extends react.Component with LifecycleTestHelper {
176176
componentWillUnmount() => lifecycleCall('componentWillUnmount');
177177

178178
@override
179-
componentWillReceiveProps(newProps) =>
180-
lifecycleCall('componentWillReceiveProps', arguments: [Map.from(newProps)]);
179+
componentWillReceiveProps(newProps) => lifecycleCall('componentWillReceiveProps', arguments: [Map.from(newProps)]);
181180

182181
@override
183-
componentWillReceivePropsWithContext(newProps, newContext) =>
184-
lifecycleCall('componentWillReceivePropsWithContext',
185-
arguments: [Map.from(newProps), Map.from(newContext as Map)]);
182+
componentWillReceivePropsWithContext(newProps, newContext) => lifecycleCall('componentWillReceivePropsWithContext',
183+
arguments: [Map.from(newProps), Map.from(newContext as Map)]);
186184

187185
@override
188186
componentWillUpdate(nextProps, nextState) =>
189187
lifecycleCall('componentWillUpdate', arguments: [Map.from(nextProps), Map.from(nextState)]);
190188

191189
@override
192-
componentWillUpdateWithContext(nextProps, nextState, nextContext) =>
193-
lifecycleCall('componentWillUpdateWithContext',
194-
arguments: [Map.from(nextProps), Map.from(nextState), Map.from(nextContext)]);
190+
componentWillUpdateWithContext(nextProps, nextState, nextContext) => lifecycleCall('componentWillUpdateWithContext',
191+
arguments: [Map.from(nextProps), Map.from(nextState), Map.from(nextContext)]);
195192

196193
@override
197194
componentDidUpdate(prevProps, prevState) =>

0 commit comments

Comments
 (0)