Skip to content

Commit

Permalink
fix: replace deprecated property visible by open
Browse files Browse the repository at this point in the history
  • Loading branch information
annarieger committed Dec 5, 2022
1 parent 7cf3c17 commit 511e371
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Button/DigitizeButton/DigitizeButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ class DigitizeButton extends React.Component<DigitizeButtonProps, DigitizeButton
title={modalPromptTitle}
okText={modalPromptOkButtonText}
cancelText={modalPromptCancelButtonText}
visible={this.state.showLabelPrompt}
open={this.state.showLabelPrompt}
closable={false}
onOk={this.onModalLabelOk}
onCancel={this.onModalLabelCancel}
Expand Down
2 changes: 1 addition & 1 deletion src/FeatureLabelModal/FeatureLabelModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const FeatureLabelModal: React.FC<FeatureLabelModalProps> = ({
}

return <Modal
visible={showPrompt}
open={showPrompt}
closable={false}
onOk={onOkInternal}
onCancel={onCancel}
Expand Down

0 comments on commit 511e371

Please sign in to comment.