-
-
Notifications
You must be signed in to change notification settings - Fork 48.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixed typo error. #8542
fixed typo error. #8542
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8542 +/- ##
=======================================
Coverage 84.96% 84.96%
=======================================
Files 226 226
Lines 4657 4657
Branches 1360 1360
=======================================
Hits 3957 3957
Misses 700 700 Continue to review full report at Codecov.
|
@@ -148,7 +148,7 @@ $ yarn add babel-plugin-import --dev | |||
Remove the `@import '~antd/dist/antd.css';` statement added before because `babel-plugin-import` will import styles and import components like below: | |||
|
|||
```diff | |||
// scr/App.js | |||
// src/App.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is typo.
@@ -148,7 +148,7 @@ $ yarn add babel-plugin-import --dev | |||
Remove the `@import '~antd/dist/antd.css';` statement added before because `babel-plugin-import` will import styles and import components like below: | |||
|
|||
```diff | |||
// scr/App.js | |||
// src/App.js | |||
import React, { Component } from 'react'; | |||
- import Button from 'antd/lib/button'; | |||
+ import { Button } from 'antd'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But this line is not typo. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not change that line.
The original file has -, +
symbols.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha. My fault.
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
master
, feature for latest active branchfeature-x.x
.npm run lint
and fix those errors before submitting in order to keep consistent code style.Extra checklist:
if isBugFix :
elif isNewFeature :