diff --git a/packages/react-native-codegen/src/generators/Utils.js b/packages/react-native-codegen/src/generators/Utils.js index e5d1e1b5f68f86..bd1ec2f6b30a6c 100644 --- a/packages/react-native-codegen/src/generators/Utils.js +++ b/packages/react-native-codegen/src/generators/Utils.js @@ -21,7 +21,7 @@ function indent(nice: string, spaces: number): string { if (line.length === 0 || index === 0) { return line; } - const emptySpaces = new Array(spaces + 1).join(' '); + const emptySpaces = new Array(spaces + 1).join(' '); return emptySpaces + line; }) .join('\n'); diff --git a/packages/rn-tester/js/examples/Text/TextExample.ios.js b/packages/rn-tester/js/examples/Text/TextExample.ios.js index 4a4edacc5c690f..4e1dcc84b7ce37 100644 --- a/packages/rn-tester/js/examples/Text/TextExample.ios.js +++ b/packages/rn-tester/js/examples/Text/TextExample.ios.js @@ -453,7 +453,7 @@ class TextRenderInfoExample extends React.Component< this.setState({textMetrics: lines[lines.length - 1]}); } }}> - {new Array(this.state.numberOfTextBlocks) + {new Array(this.state.numberOfTextBlocks) .fill('A tiny block of text.') .join(' ')}