mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-22 22:19:48 +03:00
fix lint
This commit is contained in:
parent
3d3ed0cf6a
commit
e54eb30f94
|
@ -96,10 +96,8 @@ class SliderMonitor<S, A extends Action<unknown>> extends (PureComponent ||
|
|||
setUpTheme = (): Base16Theme => {
|
||||
let theme;
|
||||
if (typeof this.props.theme === 'string') {
|
||||
if (
|
||||
typeof themes[this.props.theme as keyof typeof themes] !== 'undefined'
|
||||
) {
|
||||
theme = themes[this.props.theme as keyof typeof themes];
|
||||
if (typeof themes[this.props.theme] !== 'undefined') {
|
||||
theme = themes[this.props.theme];
|
||||
} else {
|
||||
theme = themes.nicinabox;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user