Lint all the things
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { Col, Divider, Row } from "antd";
|
||||
import React from "react";
|
||||
import "./layout-form-row.styles.scss";
|
||||
|
||||
export default function LayoutFormRow({ header, children, grow = false, noDivider = false, ...restProps }) {
|
||||
@@ -10,7 +9,7 @@ export default function LayoutFormRow({ header, children, grow = false, noDivide
|
||||
</Divider>
|
||||
);
|
||||
|
||||
if (!!!children.length) {
|
||||
if (!children.length) {
|
||||
//We have only one element. It's going to get the whole thing.
|
||||
return (
|
||||
<div className="imex-form-row" {...restProps} style={{ marginBottom: ".8rem", ...restProps.style }}>
|
||||
|
||||
Reference in New Issue
Block a user