From 45f0c436c1bd67315404d58bcefed50feb46f432 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Fri, 13 Nov 2020 14:52:58 -0330 Subject: [PATCH] Fix malformed PropType declaraton (#9876) `PropTypes.function` was used accidentally instead of `PropType.func` --- .../pages/first-time-flow/end-of-flow/end-of-flow.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/pages/first-time-flow/end-of-flow/end-of-flow.component.js b/ui/app/pages/first-time-flow/end-of-flow/end-of-flow.component.js index 826bf094e..34a52a027 100644 --- a/ui/app/pages/first-time-flow/end-of-flow/end-of-flow.component.js +++ b/ui/app/pages/first-time-flow/end-of-flow/end-of-flow.component.js @@ -15,7 +15,7 @@ export default class EndOfFlowScreen extends PureComponent { static propTypes = { history: PropTypes.object, completionMetaMetricsName: PropTypes.string, - setCompletedOnboarding: PropTypes.function, + setCompletedOnboarding: PropTypes.func, onboardingInitiator: PropTypes.exact({ location: PropTypes.string, tabId: PropTypes.number,