From d6b7bd557b3e1381fc05e80bf5006f332b0c2459 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Thu, 21 Nov 2019 06:53:51 -0800 Subject: [PATCH] Fix props naming (#646) Summary: It's camelCase for props in JS. Would be good to have a linter for this in place. Pull Request resolved: https://github.com/facebook/flipper/pull/646 Test Plan: yarn flow Reviewed By: jknoxville Differential Revision: D18613822 Pulled By: passy fbshipit-source-id: 9cf03b2a02c7802853edb15cbde8df998df5deb2 --- src/plugins/sections/StackTrace.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/sections/StackTrace.js b/src/plugins/sections/StackTrace.js index e1cf590e0..fabc10133 100644 --- a/src/plugins/sections/StackTrace.js +++ b/src/plugins/sections/StackTrace.js @@ -22,12 +22,12 @@ function isSystemLibrary(libraryName: ?string): boolean { type Props = { data: Array, - skip_stack_trace_format?: boolean, + skipStackTraceFormat?: boolean, }; export default class extends React.Component { render() { - if (this.props.skip_stack_trace_format) { + if (this.props.skipStackTraceFormat) { return ( {this.props.data.map(stack_trace_line => {