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 1dbcc87 + 8bf53d0 commit c7f0e0cCopy full SHA for c7f0e0c
1 file changed
src/components/organisms/AlertModal/index.jsx
@@ -74,7 +74,7 @@ class AlertModal extends React.Component<Props> {
74
id: string
75
76
componentDidMount() {
77
- this.id = new Date().getTime().toString()
+ this.id = `${new Date().getTime().toString()}-${Math.random()}`
78
KeyboardManager.onEnter(`alert-${this.id}`, () => {
79
if (this.props.isOpen) {
80
this.props.onConfirmation()
0 commit comments