Update react-redux to 6.0.0-beta.2, enable react concurrent mode, use strict equality mapState checks

This commit is contained in:
Ken-Håvard Lieng 2018-11-09 08:11:01 +01:00
parent 04852cdf58
commit 9c9b05d479
11 changed files with 288 additions and 217 deletions

View file

@ -1,4 +1,3 @@
import { connect } from 'react-redux';
import { createStructuredSelector } from 'reselect';
import Settings from 'components/pages/Settings';
import {
@ -8,6 +7,7 @@ import {
setKey,
uploadCert
} from 'state/settings';
import connect from 'utils/connect';
const mapState = createStructuredSelector({
settings: getSettings