summaryrefslogtreecommitdiff
path: root/apps/web/src/constants/actions.ts
diff options
context:
space:
mode:
authorKha Nguyen <hi@khanguyen.com>2025-07-24 17:00:49 -0500
committerKha Nguyen <hi@khanguyen.com>2025-07-24 17:00:49 -0500
commit1ccacf6bb5db579cf6f343d9de57bce92d296f5f (patch)
tree8f4ab02ef1c0a7420c1827607207c52629e56288 /apps/web/src/constants/actions.ts
parent0b7a943de30663a37aec93421cbd90dfbd673d87 (diff)
downloadopencut-1ccacf6bb5db579cf6f343d9de57bce92d296f5f.tar.gz
merge main
Diffstat (limited to 'apps/web/src/constants/actions.ts')
-rw-r--r--apps/web/src/constants/actions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/constants/actions.ts b/apps/web/src/constants/actions.ts
index 5f1883f1..4278ce7e 100644
--- a/apps/web/src/constants/actions.ts
+++ b/apps/web/src/constants/actions.ts
@@ -191,7 +191,7 @@ export function isActionBound(action: Action): boolean {
export function useActionHandler<A extends Action>(
action: A,
handler: ActionFunc<A>,
- isActive: MutableRefObject<boolean> | boolean | undefined = undefined
+ isActive: MutableRefObject<boolean> | boolean | undefined
) {
const handlerRef = useRef(handler);
const [isBound, setIsBound] = useState(false);