We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d9a370 commit 18ee33cCopy full SHA for 18ee33c
packages/app/src/pages/audit/file/instance/index.tsx
@@ -153,6 +153,13 @@ export default function AuditInstancePage() {
153
}
154
}, [context.highlightedCytoscapeRef]);
155
156
+ // Hook to update the theme in the graph
157
+ useEffect(() => {
158
+ if (symbolVisualizer) {
159
+ symbolVisualizer.updateTheme(theme);
160
+ }
161
+ }, [theme]);
162
+
163
return (
164
<div className="relative w-full h-full">
165
{/* This is the container for Cytoscape */}
0 commit comments