Fix compatability

This commit is contained in:
2019-06-17 14:08:08 +02:00
parent f53fe1559e
commit c30e9f27a5
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ class Events extends Component {
render() { render() {
const { const {
...others, ...others
} = this.props; } = this.props;
return ( return (

View File

@@ -16,10 +16,10 @@ const Modal = styled.Modal`
`; `;
const Selector = ({ const Selector = ({
...others,
multiSelect = false, multiSelect = false,
onSelect, onSelect,
options = [], options = [],
...others
}) => ( }) => (
<State> <State>
{({ open }, setState) => ( {({ open }, setState) => (