Skip to content

Commit 8a644c6

Browse files
authored
Add missing import statement
1 parent 96340eb commit 8a644c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crystal_toolkit/components/localenv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from dash import callback_context, dcc, html
77
from dash.dependencies import Input, Output
88
from dash.exceptions import PreventUpdate
9-
from dash_mp_components import GraphComponent
9+
import dash_mp_components as mpc
1010
from pymatgen.analysis.chemenv.coordination_environments.chemenv_strategies import (
1111
SimplestChemenvStrategy,
1212
)
@@ -720,7 +720,7 @@ def update_bondinggraph_analysis(graph, display_options):
720720
}
721721

722722
return html.Div(
723-
[GraphComponent(graph=graph_data, options=options)],
723+
[mpc.GraphComponent(graph=graph_data, options=options)],
724724
style={"width": "65vmin", "height": "65vmin"},
725725
)
726726

0 commit comments

Comments
 (0)