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:
parent
fc6258f6e9
commit
6c4569656f
1 changed files with 2 additions and 2 deletions
|
@ -43,9 +43,9 @@ export function OutfitLayers({ loading, visibleLayers, doAnimations = false }) {
|
||||||
<Box pos="relative" height="100%" width="100%">
|
<Box pos="relative" height="100%" width="100%">
|
||||||
<TransitionGroup enter={false} exit={doAnimations}>
|
<TransitionGroup enter={false} exit={doAnimations}>
|
||||||
{visibleLayers.map((layer) => (
|
{visibleLayers.map((layer) => (
|
||||||
// We manage the fade-in and fade-out separately! The fade-out
|
|
||||||
// happens here, when the layer exits the DOM.
|
|
||||||
<CSSTransition
|
<CSSTransition
|
||||||
|
// We manage the fade-in and fade-out separately! The fade-out
|
||||||
|
// happens here, when the layer exits the DOM.
|
||||||
key={layer.id}
|
key={layer.id}
|
||||||
classNames={css`
|
classNames={css`
|
||||||
&-exit {
|
&-exit {
|
||||||
|
|
Loading…
Reference in a new issue