diff --git a/crystal_toolkit/components/structure.py b/crystal_toolkit/components/structure.py index 459e024d..2f761e31 100644 --- a/crystal_toolkit/components/structure.py +++ b/crystal_toolkit/components/structure.py @@ -25,7 +25,7 @@ from crystal_toolkit.core.legend import Legend from crystal_toolkit.core.mpcomponent import MPComponent from crystal_toolkit.core.scene import Scene -from crystal_toolkit.helpers.layouts import H2, Field, dcc, html +from crystal_toolkit.helpers.layouts import H2, Field, Loading, dcc, html from crystal_toolkit.settings import SETTINGS # TODO: make dangling bonds "stubs"? (fixed length) @@ -887,7 +887,7 @@ def _sub_layouts(self) -> dict[str, Component]: ) return { - "struct": struct_layout, + "struct": Loading(struct_layout), "options": options_layout, "title": title_layout, "legend": legend_layout,