fix small typing issue (#3562)
This commit is contained in:
parent
956bc0a397
commit
764f723829
@ -1538,7 +1538,8 @@ class Component(BaseComponent, ABC):
|
|||||||
if hooks is not None:
|
if hooks is not None:
|
||||||
code[hooks] = None
|
code[hooks] = None
|
||||||
|
|
||||||
code.update(self._get_added_hooks())
|
for hook in self._get_added_hooks():
|
||||||
|
code[hook] = None
|
||||||
|
|
||||||
# Add the hook code for the children.
|
# Add the hook code for the children.
|
||||||
for child in self.children:
|
for child in self.children:
|
||||||
|
Loading…
Reference in New Issue
Block a user