summaryrefslogtreecommitdiff
path: root/apps/web/src/constants/actions.ts
diff options
context:
space:
mode:
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);