Skip to content

Commit 3e7bbf0

Browse files
authored
Merge pull request #397 from foglerek/fix/interface-mismatch
Fix: TypeError: undefined is not an object (evaluating 'handle.active')
2 parents c4772f6 + ca96395 commit 3e7bbf0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Modal/Modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class Modal extends Component<Props, State> {
190190
})
191191

192192
return (
193-
<FullScreen enabled={isFullscreen} onChange={this.handleFullscreenChange}>
193+
<FullScreen handle={{ active: isFullscreen }} onChange={this.handleFullscreenChange}>
194194
<Fade {...commonProps} component={Blanket} in={transitionIn} />
195195
<SlideUp
196196
{...commonProps}

0 commit comments

Comments
 (0)