mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
Linting
This commit is contained in:
parent
dd3e900c5f
commit
104b161e1f
|
@ -59,8 +59,7 @@ export default class Dialog extends (PureComponent || Component) {
|
|||
{children}
|
||||
{schema && (
|
||||
<Form {...rest}>
|
||||
{
|
||||
!noFooter &&
|
||||
{!noFooter &&
|
||||
(
|
||||
<input
|
||||
type="submit"
|
||||
|
@ -74,8 +73,8 @@ export default class Dialog extends (PureComponent || Component) {
|
|||
</div>
|
||||
{
|
||||
!noFooter &&
|
||||
(actions
|
||||
? <div className="mc-dialog--footer">
|
||||
(actions ?
|
||||
<div className="mc-dialog--footer">
|
||||
{submitText ?
|
||||
[...actions,
|
||||
<Button key="default-submit" primary onClick={this.onSubmit}>
|
||||
|
@ -85,7 +84,8 @@ export default class Dialog extends (PureComponent || Component) {
|
|||
: actions
|
||||
}
|
||||
</div>
|
||||
: <div className="mc-dialog--footer">
|
||||
:
|
||||
<div className="mc-dialog--footer">
|
||||
<Button onClick={onDismiss}>Cancel</Button>
|
||||
<Button primary onClick={this.onSubmit}>
|
||||
{submitText || 'Submit'}
|
||||
|
|
|
@ -67,7 +67,7 @@ export default class Tabs extends Component {
|
|||
if (!this.SelectedComponent) {
|
||||
return (
|
||||
<TabsContainer position={this.props.position}>
|
||||
{ tabsHeader }
|
||||
{tabsHeader}
|
||||
</TabsContainer>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user