We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07795e7 + b4dee32 commit 6b0591aCopy full SHA for 6b0591a
src/components/CopilotModal.js
@@ -61,7 +61,7 @@ class CopilotModal extends Component<Props, State> {
61
};
62
63
componentWillReceiveProps(nextProps: Props) {
64
- if (nextProps.visible === false) {
+ if (this.props.visible === true && nextProps.visible === false) {
65
this.reset();
66
}
67
0 commit comments