Faster preferences window

This commit is contained in:
Josh Perez 2021-08-18 16:08:14 -04:00 committed by GitHub
parent ac55b8d643
commit 91af0dad78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
71 changed files with 3567 additions and 2093 deletions

View file

@ -15,6 +15,7 @@ import thunk from 'redux-thunk';
import { createLogger } from 'redux-logger';
import { reducer, StateType } from './reducer';
import { dispatchItemsMiddleware } from '../shims/dispatchItemsMiddleware';
declare global {
// We want to extend `window`'s properties, so we need an interface.
@ -49,6 +50,7 @@ const logger = createLogger({
const middlewareList = [
promise,
thunk,
dispatchItemsMiddleware,
...(env === 'production' ? [] : [logger]),
];