Skip to content

Commit

Permalink
Merge pull request #397 from foglerek/fix/interface-mismatch
Browse files Browse the repository at this point in the history
Fix: TypeError: undefined is not an object (evaluating 'handle.active')
  • Loading branch information
davwheat authored Apr 29, 2021
2 parents c4772f6 + ca96395 commit 3e7bbf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class Modal extends Component<Props, State> {
})

return (
<FullScreen enabled={isFullscreen} onChange={this.handleFullscreenChange}>
<FullScreen handle={{ active: isFullscreen }} onChange={this.handleFullscreenChange}>
<Fade {...commonProps} component={Blanket} in={transitionIn} />
<SlideUp
{...commonProps}
Expand Down

0 comments on commit 3e7bbf0

Please sign in to comment.