🚧 Renombra "define_handle!()" por "use_handle!()"

This commit is contained in:
Manuel Cillero 2023-06-23 08:26:26 +02:00
parent aa1f58d11a
commit 66f67f41dc
38 changed files with 42 additions and 42 deletions

View file

@ -1,6 +1,6 @@
use pagetop::prelude::*;
define_handle!(COMPONENT_MEGAMENUITEM);
use_handle!(COMPONENT_MEGAMENUITEM);
type Label = OneComponent<L10n>;
type Content = OneComponent<L10n>;
@ -151,7 +151,7 @@ impl MegaMenuItem {
// MegaMenu.
define_handle!(COMPONENT_MEGAMENU);
use_handle!(COMPONENT_MEGAMENU);
action_before_render_component!(ACTION_BEFORE_RENDER_MENU for MegaMenu);