try to fix a compiler bug?

It looks like, in prod, our lambda fn here got optimized away, and I'm guessing it's because it starts with a comment now? I moved the comment down a line, fingers crossed!
This commit is contained in:
Matt Dunn-Rankin 2020-05-02 23:32:45 -07:00
parent fc6258f6e9
commit 6c4569656f

View file

@ -43,9 +43,9 @@ export function OutfitLayers({ loading, visibleLayers, doAnimations = false }) {
<Box pos="relative" height="100%" width="100%">
<TransitionGroup enter={false} exit={doAnimations}>
{visibleLayers.map((layer) => (
// We manage the fade-in and fade-out separately! The fade-out
// happens here, when the layer exits the DOM.
<CSSTransition
// We manage the fade-in and fade-out separately! The fade-out
// happens here, when the layer exits the DOM.
key={layer.id}
classNames={css`
&-exit {