From cc61d33d58f31ab6c71618d50be6c4442b3abce5 Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 5 Aug 2020 01:23:26 -0700 Subject: [PATCH] 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! --- src/app/WardrobePage/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/WardrobePage/index.js b/src/app/WardrobePage/index.js index c7b7e52..bfdf492 100644 --- a/src/app/WardrobePage/index.js +++ b/src/app/WardrobePage/index.js @@ -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.