Skip to content

Formatting error #114

Description

@theSouthSea

Before formatting:

const render = () => ReactDOM.render(
    <Counter value={ store.getState() } onIncrement={() => store.dispatch({type: 'INCREMENT'})} onDecrement={() => store.dispatch({type: 'DECREMENT'})}
    />,
    document.getElementById('root')
);

After formatting:

const render = () => ReactDOM.render(
    <Counter value={ store.getState() } onIncrement={ () => store.dispatch({
                                                      type: 'INCREMENT'
                                                  }) } onDecrement={ () => store.dispatch({
                                                                                                                                                                                                                          type: 'DECREMENT'
                                                                                                                                                                                                                      }) } />,
    document.getElementById('root')
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions