refactor: minor changes in animation props

This commit is contained in:
José Oliveira 2021-02-22 13:10:09 +00:00 committed by Josh Harvey
parent 887815dfc9
commit bde1f4c69c

View file

@ -92,17 +92,13 @@ const Main = () => {
? classes.contentWithSidebar
: classes.contentWithoutSidebar
const transitionProps = {
direction: 'left'
}
return (
<div className={classes.root}>
{!is404 && wizardTested && <Header tree={tree} />}
<main className={classes.wrapper}>
{sidebar && !is404 && wizardTested && (
<Slide
{...transitionProps}
direction="left"
in={true}
mountOnEnter
unmountOnExit