From b34c6637129bf2559243ccd11ba100cbcce54ff4 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Fri, 6 Dec 2019 09:43:50 -0400 Subject: [PATCH] Rename render function props from `Route` (#7657) The props parameter from the `Route` render function has been renamed to `routeProps` to avoid confusion with the component props. --- .../create-password/create-password.component.js | 8 ++++---- .../first-time-flow/first-time-flow.component.js | 16 ++++++++-------- .../seed-phrase/seed-phrase.component.js | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/ui/app/pages/first-time-flow/create-password/create-password.component.js b/ui/app/pages/first-time-flow/create-password/create-password.component.js index fbeb34d77..514e8d3b9 100644 --- a/ui/app/pages/first-time-flow/create-password/create-password.component.js +++ b/ui/app/pages/first-time-flow/create-password/create-password.component.js @@ -36,9 +36,9 @@ export default class CreatePassword extends PureComponent { ( + render={routeProps => ( )} @@ -46,9 +46,9 @@ export default class CreatePassword extends PureComponent { ( + render={routeProps => ( )} diff --git a/ui/app/pages/first-time-flow/first-time-flow.component.js b/ui/app/pages/first-time-flow/first-time-flow.component.js index d77171f87..cc9a6a777 100644 --- a/ui/app/pages/first-time-flow/first-time-flow.component.js +++ b/ui/app/pages/first-time-flow/first-time-flow.component.js @@ -107,9 +107,9 @@ export default class FirstTimeFlow extends PureComponent { ( + render={routeProps => ( @@ -117,9 +117,9 @@ export default class FirstTimeFlow extends PureComponent { /> ( + render={routeProps => ( @@ -127,9 +127,9 @@ export default class FirstTimeFlow extends PureComponent { /> ( + render={routeProps => ( ( + render={routeProps => ( )} diff --git a/ui/app/pages/first-time-flow/seed-phrase/seed-phrase.component.js b/ui/app/pages/first-time-flow/seed-phrase/seed-phrase.component.js index 329b472a9..963dd4a6f 100644 --- a/ui/app/pages/first-time-flow/seed-phrase/seed-phrase.component.js +++ b/ui/app/pages/first-time-flow/seed-phrase/seed-phrase.component.js @@ -52,9 +52,9 @@ export default class SeedPhrase extends PureComponent { ( + render={routeProps => ( )} @@ -62,9 +62,9 @@ export default class SeedPhrase extends PureComponent { ( + render={routeProps => ( )} @@ -72,9 +72,9 @@ export default class SeedPhrase extends PureComponent { ( + render={routeProps => ( )}