summaryrefslogtreecommitdiff
path: root/apps/web/src/actions/use-action-handler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/actions/use-action-handler.ts')
-rw-r--r--apps/web/src/actions/use-action-handler.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/web/src/actions/use-action-handler.ts b/apps/web/src/actions/use-action-handler.ts
index a8bb0054..d4a37b50 100644
--- a/apps/web/src/actions/use-action-handler.ts
+++ b/apps/web/src/actions/use-action-handler.ts
@@ -8,6 +8,7 @@ import type {
} from "@/actions";
import { bindAction, unbindAction } from "@/actions";
+// eslint-disable-next-line opencut/prefer-object-params -- action subscriptions read best as (action, handler, isActive).
export function useActionHandler<A extends TAction>(
action: A,
handler: TActionFunc<A>,