File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import filter from 'lodash/filter';
8
8
import size from 'lodash/size' ;
9
9
import findIndex from 'lodash/findIndex' ;
10
10
import get from 'lodash/get' ;
11
+ import isNil from 'lodash/isNil' ;
11
12
import { connect } from 'react-redux' ;
12
13
import { setGlobalStyle , updateFragment } from '../actions' ;
13
14
import Typeface from './typeface' ;
@@ -758,7 +759,7 @@ export class Manager extends Component {
758
759
transition : ( slide . props . transition || { } ) . length
759
760
? slide . props . transition
760
761
: this . props . transition ,
761
- transitionDuration : ( slide . props . transition || { } ) . transitionDuration
762
+ transitionDuration : ! isNil ( slide . props . transitionDuration )
762
763
? slide . props . transitionDuration
763
764
: this . props . transitionDuration ,
764
765
slideReference : this . state . slideReference
You can’t perform that action at this time.
0 commit comments