event actions into a reassignment
This commit is contained in:
parent
e8380383a9
commit
6a5d6a44fb
@ -683,9 +683,9 @@ export const useEventLoop = (
|
|||||||
args = [args];
|
args = [args];
|
||||||
}
|
}
|
||||||
|
|
||||||
const event_actions = events.reduce(
|
event_actions = events.reduce(
|
||||||
(acc, e) => ({ ...acc, ...e.event_actions }),
|
(acc, e) => ({ ...acc, ...e.event_actions }),
|
||||||
event_actions
|
event_actions ?? {}
|
||||||
);
|
);
|
||||||
|
|
||||||
const _e = args.filter((o) => o?.preventDefault !== undefined)[0];
|
const _e = args.filter((o) => o?.preventDefault !== undefined)[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user