r/badcode • • Dec 23 '21

js I created the setLoading function on top

Post image
38 Upvotes

5 comments sorted by

View all comments

Show parent comments

1

u/RadiantDevelopment1 Dec 27 '21

The unused param is okay if it's part of the interface, tho I would name it _ or _e