Skip to content

Jake: follow eslint suggestions here #35

@juliebarwick

Description

@juliebarwick

// eslint-disable-next-line arrow-body-style
this.setState((prevState) => { return ({ ...prevState, answers: res.data }); });

I'm not sure what the error is exactly, but I think it should be good to adopt! My guess: if on the same line, you can omit the {} and the return.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions