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:
parent
90b4fc8da4
commit
cc61d33d58
1 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue