Skip to content

Commit ba5e2ab

Browse files
authored
Merge pull request #2847 from peicuiping/dev
chore: fix some comments
2 parents 28ce986 + f60a333 commit ba5e2ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/dash-core-components/src/components/Tabs.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export default class Tabs extends Component {
159159
parseChildrenToArray() {
160160
if (this.props.children && !is(Array, this.props.children)) {
161161
// if dcc.Tabs.children contains just one single element, it gets passed as an object
162-
// instead of an array - so we put in in a array ourselves!
162+
// instead of an array - so we put it in an array ourselves!
163163
return [this.props.children];
164164
}
165165
return this.props.children;

components/dash-table/src/dash-table/dash/DataTable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ export const propTypes = {
700700
/**
701701
* Denotes the format of the headers in the export data file.
702702
* If `'none'`, there will be no header. If `'display'`, then the header
703-
* of the data file will be be how it is currently displayed. Note that
703+
* of the data file will be how it is currently displayed. Note that
704704
* `'display'` is only supported for `'xlsx'` export_format and will behave
705705
* like `'names'` for `'csv'` export format. If `'ids'` or `'names'`,
706706
* then the headers of data file will be the column id or the column
@@ -802,7 +802,7 @@ export const propTypes = {
802802
* If `'native'`, then the sorting UI is displayed and the sorting
803803
* logic is handled by the table. That is, it is performed on the data
804804
* that exists in the `data` property.
805-
* If `'custom'`, the the sorting UI is displayed but it is the
805+
* If `'custom'`, the sorting UI is displayed but it is the
806806
* responsibility of the developer to program the sorting
807807
* through a callback (where `sort_by` would be the input and `data`
808808
* would be the output).

0 commit comments

Comments
 (0)