don’t require showReconnect in alert
This commit is contained in:
1 parent
ec1d6b94c9
commit
ebac489166
2 files changed
+2
-2
No files matched your search
@@ -68,7 +68,7 @@ AlertComponent.propTypes = {
|
||||
message: PropTypes.string,
|
||||
onCloseAlert: PropTypes.func.isRequired,
|
||||
onReconnect: PropTypes.func,
|
||||
showReconnect: PropTypes.bool.isRequired
|
||||
showReconnect: PropTypes.bool
|
||||
};
|
||||
|
||||
AlertComponent.defaultProps = {
|
||||
|
||||
@@ -65,7 +65,7 @@ Alert.propTypes = {
|
||||
message: PropTypes.string,
|
||||
onCloseAlert: PropTypes.func.isRequired,
|
||||
onOpenConnectionModal: PropTypes.func,
|
||||
showReconnect: PropTypes.bool.isRequired
|
||||
showReconnect: PropTypes.bool
|
||||
};
|
||||
|
||||
export default connect(
|
||||
|
||||
Reference in new issue
Block a user