Introduce dark theme
Summary: Adds support for switching dark mode on the fly. Also added the option to apply certain settings without restarting Flipper, as that isn't needed in all cases. Reviewed By: cekkaewnumchai Differential Revision: D23625854 fbshipit-source-id: 82175ba10524daf1b48a65feec8c610460df9418
This commit is contained in:
committed by
Facebook GitHub Bot
parent
908a8bab1e
commit
2d2a8bd675
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
import {createStore} from 'redux';
|
||||
import reducers, {Actions, State as StoreState} from './reducers/index';
|
||||
import reducers, {Actions, State as StoreState, Store} from './reducers/index';
|
||||
import {stateSanitizer} from './utils/reduxDevToolsConfig';
|
||||
import isProduction from './utils/isProduction';
|
||||
import produce from 'immer';
|
||||
@@ -17,7 +17,7 @@ import {
|
||||
getPluginKey,
|
||||
} from './utils/pluginUtils';
|
||||
|
||||
export const store = createStore<StoreState, Actions, any, any>(
|
||||
export const store: Store = createStore<StoreState, Actions, any, any>(
|
||||
rootReducer,
|
||||
// @ts-ignore Type definition mismatch
|
||||
window.__REDUX_DEVTOOLS_EXTENSION__
|
||||
|
||||
Reference in New Issue
Block a user