Skip to content
Snippets Groups Projects
Commit ff6e8905 authored by Aaron Bohy's avatar Aaron Bohy
Browse files

[REF] web,*: regroup custom hooks in core/utils/hooks


*base_automation,iap,im_livechat,point_of_sale

This commit introduces a new file in core/utils: hooks.js
This file contains custom hooks (useEffect, useService, useBus...).

The useHotkey hook is tightly related to hotkeys, so it has been
moved to core/hotkeys.

closes odoo/odoo#74535

Related: odoo/enterprise#20003
Signed-off-by: default avatarLucas Perais (lpe) <lpe@odoo.com>
parent 5ffdd920
No related branches found
No related tags found
No related merge requests found
Showing
with 194 additions and 202 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment