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