Skip to content

Commit 2cb2f4e

Browse files
author
Jakob Schlanstedt
committed
style(row_editing comments): make inline comment proper doc
1 parent 0030e5c commit 2cb2f4e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/client/src/widgets/collections/table/row_editing.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ import server from "../../../services/server";
99
import branches from "../../../services/branches";
1010
import AttributeDetailWidget from "../../attribute_widgets/attribute_detail";
1111

12-
export default function useRowTableEditing(api: RefObject<Tabulator>, attributeDetailWidget: AttributeDetailWidget, parentNotePath: string): Partial<EventCallBackMethods> { // Adding new rows
12+
/**
13+
* Hook for handling row table editing, including adding new rows.
14+
*/
15+
export default function useRowTableEditing(api: RefObject<Tabulator>, attributeDetailWidget: AttributeDetailWidget, parentNotePath: string): Partial<EventCallBackMethods> {
1316
useLegacyImperativeHandlers({
1417
addNewRowCommand({ customOpts }: CommandListenerData<"addNewRow">) {
1518
if (!customOpts) {

0 commit comments

Comments
 (0)