Skip to content

Commit 6fc1993

Browse files
prashant-andaniianschmitz
authored andcommittedDec 31, 2018
Typo fixes (#6104)
<!-- Thank you for sending the PR! If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots! Happy contributing! -->
1 parent bf669a3 commit 6fc1993

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎packages/create-react-app/createReactApp.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ function createApp(
243243
chalk.yellow(
244244
`You are using npm ${
245245
npmInfo.npmVersion
246-
} so the project will be boostrapped with an old unsupported version of tools.\n\n` +
246+
} so the project will be bootstrapped with an old unsupported version of tools.\n\n` +
247247
`Please update to npm 3 or higher for a better, fully supported experience.\n`
248248
)
249249
);

‎packages/react-error-overlay/src/components/Collapsible.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Collapsible extends Component<Props, State> {
4848
collapsed: true,
4949
};
5050

51-
toggleCollaped = () => {
51+
toggleCollapsed = () => {
5252
this.setState(state => ({
5353
collapsed: !state.collapsed,
5454
}));
@@ -60,7 +60,7 @@ class Collapsible extends Component<Props, State> {
6060
return (
6161
<div>
6262
<button
63-
onClick={this.toggleCollaped}
63+
onClick={this.toggleCollapsed}
6464
style={
6565
collapsed ? collapsibleCollapsedStyle : collapsibleExpandedStyle
6666
}
@@ -72,7 +72,7 @@ class Collapsible extends Component<Props, State> {
7272
<div style={{ display: collapsed ? 'none' : 'block' }}>
7373
{this.props.children}
7474
<button
75-
onClick={this.toggleCollaped}
75+
onClick={this.toggleCollapsed}
7676
style={collapsibleExpandedStyle}
7777
>
7878
{`▲ ${count} stack frames were expanded.`}

0 commit comments

Comments
 (0)