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