clean up code
This commit is contained in:
parent
c54b736254
commit
e0507d1681
@ -1557,8 +1557,6 @@ class Component(BaseComponent, ABC):
|
||||
if isinstance(hook, Var):
|
||||
extract_var_hooks(hook)
|
||||
else:
|
||||
if isinstance(hook, str):
|
||||
hook = HookVar.create(hook)
|
||||
code[hook] = VarData()
|
||||
|
||||
return code
|
||||
|
Loading…
Reference in New Issue
Block a user