fac25 / week5-Alex-Sumithra-ClientReactApp

https://whimsical-tulumba-87c33d.netlify.app/
0 stars 0 forks source link

Rename function #28

Closed ivan-unfolds closed 2 years ago

ivan-unfolds commented 2 years ago

It's confusing that this function begins with set.. as this is usually reserved for hooks. You might want to choose another name to avoid this.

https://github.com/fac25/week5-Alex-Sumithra-ClientReactApp/blob/746fba3cb1527498770624e25f38a44a298d18d8/src/Components/Board.jsx#L44

Sumithra-Suresh commented 2 years ago

Thanks. We have changed the function name.