mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce semicolons in eslint
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
0f3f5611ba
commit
1477bb8274
531 files changed
+3979
-3975
No files matched your search
@@ -16,14 +16,14 @@ export class DrawerParamToggler extends React.Component<DrawerParamTogglerProps,
|
||||
public state: State = {}
|
||||
|
||||
toggle = () => {
|
||||
this.setState({ open: !this.state.open })
|
||||
this.setState({ open: !this.state.open });
|
||||
}
|
||||
|
||||
render() {
|
||||
const { label, children } = this.props
|
||||
const { open } = this.state
|
||||
const icon = `arrow_drop_${open ? "up" : "down"}`
|
||||
const link = open ? _i18n._(t`Hide`) : _i18n._(t`Show`)
|
||||
const { label, children } = this.props;
|
||||
const { open } = this.state;
|
||||
const icon = `arrow_drop_${open ? "up" : "down"}`;
|
||||
const link = open ? _i18n._(t`Hide`) : _i18n._(t`Show`);
|
||||
return (
|
||||
<div className="DrawerParamToggler">
|
||||
<div className="flex gaps align-center">
|
||||
@@ -35,6 +35,6 @@ export class DrawerParamToggler extends React.Component<DrawerParamTogglerProps,
|
||||
</div>
|
||||
<div className={cssNames("param-content", { open })}>{children}</div>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user