darray-queens / Project-Atelier

0 stars 2 forks source link

Location of useState #77

Open stevkim opened 8 months ago

stevkim commented 8 months ago

https://github.com/darray-queens/FEC_D-ARRAY_QUEENS/blob/90ed0dee7efa4ba7fc4b026dee36af97e04437ab/src/components/relatedProductsModule/outfits/OutfitsList.jsx#L16

States are always at the top of the component.