mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 23:08:54 +02:00
Prettify all JavaScript files (#964)
* Prettify all JavaScript files * Make trailingComma all * Delete v2/.prettierignore * Remove v2 Prettier commands in package.json
This commit is contained in:
parent
a1de6dab04
commit
9d4a5d5359
101 changed files with 441 additions and 473 deletions
|
@ -9,7 +9,7 @@ export default class TodoItem extends React.Component {
|
|||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
editText: props.todo.title
|
||||
editText: props.todo.title,
|
||||
};
|
||||
this.handleEdit = this.handleEdit.bind(this);
|
||||
this.handleSubmit = this.handleSubmit.bind(this);
|
||||
|
@ -68,7 +68,7 @@ export default class TodoItem extends React.Component {
|
|||
<li
|
||||
className={classNames({
|
||||
completed: this.props.todo.completed,
|
||||
editing: this.props.editing
|
||||
editing: this.props.editing,
|
||||
})}>
|
||||
<div className="view">
|
||||
<input
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue