Profile: Fix rendering spinner after transition
This commit is contained in:
parent
67d1495e41
commit
93b82b7f6a
@ -586,7 +586,7 @@ const Profile: FC<OwnProps & StateProps> = ({
|
|||||||
const isSpinner = noContent && !noSpinner;
|
const isSpinner = noContent && !noSpinner;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Transition activeKey={isSpinner ? 0 : 1} name="fade">
|
<Transition activeKey={isSpinner ? 0 : 1} name="fade" shouldCleanup>
|
||||||
{renderSpinnerOrContent(noContent, noSpinner)}
|
{renderSpinnerOrContent(noContent, noSpinner)}
|
||||||
</Transition>
|
</Transition>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user