From 2cb2f4ecc04279100e3b576abd6abc50a0e4761c Mon Sep 17 00:00:00 2001 From: Jakob Schlanstedt Date: Wed, 5 Nov 2025 15:09:02 +0100 Subject: [PATCH] style(row_editing comments): make inline comment proper doc --- apps/client/src/widgets/collections/table/row_editing.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/collections/table/row_editing.ts b/apps/client/src/widgets/collections/table/row_editing.ts index bf911fed3..9ad7da588 100644 --- a/apps/client/src/widgets/collections/table/row_editing.ts +++ b/apps/client/src/widgets/collections/table/row_editing.ts @@ -9,7 +9,10 @@ import server from "../../../services/server"; import branches from "../../../services/branches"; import AttributeDetailWidget from "../../attribute_widgets/attribute_detail"; -export default function useRowTableEditing(api: RefObject, attributeDetailWidget: AttributeDetailWidget, parentNotePath: string): Partial { // Adding new rows +/** + * Hook for handling row table editing, including adding new rows. + */ +export default function useRowTableEditing(api: RefObject, attributeDetailWidget: AttributeDetailWidget, parentNotePath: string): Partial { useLegacyImperativeHandlers({ addNewRowCommand({ customOpts }: CommandListenerData<"addNewRow">) { if (!customOpts) {