mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-22 22:19:48 +03:00
Fix stuff
This commit is contained in:
parent
725a94de1c
commit
4f0abaccb7
|
@ -38,6 +38,11 @@ export class Select extends (PureComponent || Component)<SelectProps> {
|
|||
neutral60: this.props.theme.base06,
|
||||
neutral80: this.props.theme.base07,
|
||||
},
|
||||
spacing: {
|
||||
...theme.spacing,
|
||||
baseUnit: 2,
|
||||
controlHeight: this.props.theme.inputHeight,
|
||||
},
|
||||
})}
|
||||
/>
|
||||
);
|
||||
|
|
|
@ -14,7 +14,7 @@ export default <C extends React.ComponentType<any>>(
|
|||
) : (
|
||||
<UnthemedComponent
|
||||
{...props}
|
||||
theme={getDefaultTheme({} as Base16Theme)}
|
||||
theme={getDefaultTheme((props.theme ?? {}) as Base16Theme)}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
|
|
@ -133,9 +133,9 @@ export default class TestTab<S, A extends Action<unknown>> extends Component<
|
|||
<div style={{ flexGrow: 1, zIndex: 100 }}>
|
||||
<Select
|
||||
options={templates}
|
||||
getValueLabel={(template: Template) => template.name}
|
||||
getOptionValue={(template: Template) => template.name}
|
||||
getOptionLabel={(template: Template) => template.name}
|
||||
value={templates.filter((template) => template.name == name)}
|
||||
value={templates.filter((template) => template.name === name)}
|
||||
onChange={this.handleSelectTemplate}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -9357,7 +9357,7 @@ hmac-drbg@^1.0.0:
|
|||
minimalistic-assert "^1.0.0"
|
||||
minimalistic-crypto-utils "^1.0.1"
|
||||
|
||||
hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.1.0, hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.2:
|
||||
hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.1.0, hoist-non-react-statics@^3.3.0:
|
||||
version "3.3.2"
|
||||
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
|
||||
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
|
||||
|
|
Loading…
Reference in New Issue
Block a user