Skip to content

Commit 0215077

Browse files
lint cleanup
1 parent a35985f commit 0215077

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/libs/editor/src/tags/control/TextArea/TextAreaRegionView.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import "./TextArea.scss";
1717
const { TextArea } = Input;
1818

1919
const HtxTextAreaResultLine = forwardRef(
20-
({ idx, value, readOnly, onChange, onDelete, onFocus, validate, control, collapsed, canDelete=true }, ref) => {
20+
({ idx, value, readOnly, onChange, onDelete, onFocus, validate, control, collapsed, canDelete = true }, ref) => {
2121
const rows = Number.parseInt(control.rows);
2222
const isTextarea = rows > 1;
2323
const [stateValue, setStateValue] = useState(value ?? "");
@@ -93,7 +93,7 @@ const HtxTextAreaResultLine = forwardRef(
9393
},
9494
);
9595

96-
const HtxTextAreaResult = observer(({ item, control, firstResultInputRef, onFocus, collapsed, canDelete=true }) => {
96+
const HtxTextAreaResult = observer(({ item, control, firstResultInputRef, onFocus, collapsed, canDelete = true }) => {
9797
const value = item.mainValue;
9898
const editable = !item.isReadOnly() && item.from_name.editable && !item.area.isReadOnly();
9999

@@ -139,7 +139,7 @@ const HtxTextAreaResult = observer(({ item, control, firstResultInputRef, onFocu
139139
});
140140
});
141141

142-
const HtxTextAreaRegionView = observer(({ item, area, collapsed, setCollapsed, outliner, color, canDelete=true }) => {
142+
const HtxTextAreaRegionView = observer(({ item, area, collapsed, setCollapsed, outliner, color, canDelete = true }) => {
143143
const rows = Number.parseInt(item.rows);
144144
const isTextArea = rows > 1;
145145
const isActive = item.perRegionArea === area;

0 commit comments

Comments
 (0)