refactor: minor changes in animation props
This commit is contained in:
parent
887815dfc9
commit
bde1f4c69c
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue