mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 02:21:37 +01:00
parent
484c9709b6
commit
d1290fbd8f
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import Warning from '../components/warning';
|
import Warning from '../components/warning';
|
||||||
import { createSelector } from 'reselect';
|
import { createSelector } from 'reselect';
|
||||||
|
@ -44,7 +45,7 @@ const WarningWrapper = ({ needsLeakWarning, needsLockWarning, mentionedDomains }
|
||||||
WarningWrapper.propTypes = {
|
WarningWrapper.propTypes = {
|
||||||
needsLeakWarning: PropTypes.bool,
|
needsLeakWarning: PropTypes.bool,
|
||||||
needsLockWarning: PropTypes.bool,
|
needsLockWarning: PropTypes.bool,
|
||||||
mentionedDomains: PropTypes.array.isRequired,
|
mentionedDomains: ImmutablePropTypes.orderedSet.isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default connect(mapStateToProps)(WarningWrapper);
|
export default connect(mapStateToProps)(WarningWrapper);
|
||||||
|
|
Loading…
Reference in a new issue