mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-15 02:37:05 +02:00
Fix React warning
This commit is contained in:
parent
81e1f36c4b
commit
dd0b0834e6
@ -27,7 +27,7 @@ export default class InfoDialog extends React.Component {
|
||||
className: PropTypes.string,
|
||||
title: PropTypes.string,
|
||||
description: PropTypes.node,
|
||||
button: PropTypes.oneOfType(PropTypes.string, PropTypes.bool),
|
||||
button: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
||||
onFinished: PropTypes.func,
|
||||
hasCloseButton: PropTypes.bool,
|
||||
onKeyDown: PropTypes.func,
|
||||
|
Loading…
Reference in New Issue
Block a user