odoo/owl

useComponent crashes if called outside of setup

ged-odoo opened this issue · 0 comments

it should throw an error. funny thing is that the getCurrent method called by other hooks does exactly that.

Todo: make useComponent return getCurrent()