oops missed that one
This commit is contained in:
parent
ce4026ac4f
commit
d694d91196
@ -315,7 +315,7 @@ def _compile_stateful_components(
|
|||||||
# Don't import from the file that we're about to create.
|
# Don't import from the file that we're about to create.
|
||||||
all_imports = utils.merge_imports(*all_import_dicts)
|
all_imports = utils.merge_imports(*all_import_dicts)
|
||||||
all_imports.pop(
|
all_imports.pop(
|
||||||
f"/{constants.Dirs.UTILS}/{constants.PageNames.STATEFUL_COMPONENTS}", None
|
f"$/{constants.Dirs.UTILS}/{constants.PageNames.STATEFUL_COMPONENTS}", None
|
||||||
)
|
)
|
||||||
|
|
||||||
return templates.STATEFUL_COMPONENTS.render(
|
return templates.STATEFUL_COMPONENTS.render(
|
||||||
|
@ -2235,7 +2235,7 @@ class StatefulComponent(BaseComponent):
|
|||||||
"""
|
"""
|
||||||
if self.rendered_as_shared:
|
if self.rendered_as_shared:
|
||||||
return {
|
return {
|
||||||
f"/{Dirs.UTILS}/{PageNames.STATEFUL_COMPONENTS}": [
|
f"$/{Dirs.UTILS}/{PageNames.STATEFUL_COMPONENTS}": [
|
||||||
ImportVar(tag=self.tag)
|
ImportVar(tag=self.tag)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user