Fix linting

This commit is contained in:
yangdx
2025-04-05 15:26:46 +08:00
parent bfc28625aa
commit 1b939493d2

View File

@@ -378,7 +378,7 @@ const useLightrangeGraph = () => {
dataPromise.then((result) => {
const state = useGraphStore.getState()
const data = result?.rawGraph;
// Assign colors based on entity_type *after* fetching
if (data && data.nodes) {
data.nodes.forEach(node => {