diff --git a/libs/shared/lib/vis/visualizations/nodelinkvis/components/NLPixi.tsx b/libs/shared/lib/vis/visualizations/nodelinkvis/components/NLPixi.tsx
index 297e6062e9831548cd8dee2572aee3e97bc11baa..37b414265608d519190b7b94e2432c22d9831a74 100644
--- a/libs/shared/lib/vis/visualizations/nodelinkvis/components/NLPixi.tsx
+++ b/libs/shared/lib/vis/visualizations/nodelinkvis/components/NLPixi.tsx
@@ -53,7 +53,7 @@ export const NLPixi = (props: Props) => {
 
   useEffect(() => {
     update();
-  }, [globalConfig.currentTheme]);
+  }, [globalConfig.theme]);
 
   const app = useMemo(
     () =>
@@ -326,7 +326,7 @@ export const NLPixi = (props: Props) => {
 
     getBackgroundColor() {
       // Colors corresponding to .bg-light class
-      return globalConfig.currentTheme === Theme.dark ? 0x121621 : 0xffffff;
+      return globalConfig.theme === Theme.dark ? 0x121621 : 0xffffff;
     },
   }));