|
// 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.
Project_Catwalk/client/src/components/Questions/QAContainer.jsx
Lines 26 to 27 in 844804d
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.