Add a comment for weirdly placed div
parent
ef3737d179
commit
723400ace6
|
@ -393,6 +393,7 @@ export default class MImageBody extends React.Component<IBodyProps, IState> {
|
||||||
key={`img-${showPlaceholder}`}
|
key={`img-${showPlaceholder}`}
|
||||||
timeout={300}
|
timeout={300}
|
||||||
>
|
>
|
||||||
|
{ /* This weirdly looking div is necessary here, otherwise SwitchTransition fails */ }
|
||||||
<div>
|
<div>
|
||||||
{ showPlaceholder && <div
|
{ showPlaceholder && <div
|
||||||
className={classes}
|
className={classes}
|
||||||
|
|
Loading…
Reference in New Issue