oops, fix bad comment to work around compiler bug

This happened in an earlier change too, I forget where, but there's some compiler bug that causes comments placed in this kind of spot to yield this error in production, but not in dev:
https://reactjs.org/docs/error-decoder.html/?invariant=152&args

Oh well, moved the comment!
This commit is contained in:
Emi Matchu 2020-08-05 01:23:26 -07:00
parent 90b4fc8da4
commit cc61d33d58

View file

@ -43,11 +43,11 @@ function WardrobePage() {
}
}, [error, toast]);
// NOTE: Most components pass around outfitState directly, to make the data
// relationships more explicit... but there are some deep components
// that need it, where it's more useful and more performant to access
// via context.
return (
// NOTE: Most components pass around outfitState directly, to make the data
// relationships more explicit... but there are some deep components
// that need it, where it's more useful and more performant to access
// via context.
<OutfitStateContext.Provider value={outfitState}>
<Box
position="absolute"