mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-23 06:29:51 +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 => {
|
setUpTheme = (): Base16Theme => {
|
||||||
let theme;
|
let theme;
|
||||||
if (typeof this.props.theme === 'string') {
|
if (typeof this.props.theme === 'string') {
|
||||||
if (
|
if (typeof themes[this.props.theme] !== 'undefined') {
|
||||||
typeof themes[this.props.theme as keyof typeof themes] !== 'undefined'
|
theme = themes[this.props.theme];
|
||||||
) {
|
|
||||||
theme = themes[this.props.theme as keyof typeof themes];
|
|
||||||
} else {
|
} else {
|
||||||
theme = themes.nicinabox;
|
theme = themes.nicinabox;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user