From 84d5f84c539a7d4b8a893d92348d7cae60f3eb02 Mon Sep 17 00:00:00 2001 From: Dennis Collaris <d.collaris@me.com> Date: Fri, 2 Aug 2024 13:46:52 +0200 Subject: [PATCH] fix: remove reference of unmerged changes from !188 Introduced in splitting up !176 --- .../lib/vis/visualizations/nodelinkvis/components/NLPixi.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/shared/lib/vis/visualizations/nodelinkvis/components/NLPixi.tsx b/libs/shared/lib/vis/visualizations/nodelinkvis/components/NLPixi.tsx index 297e6062e..37b414265 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; }, })); -- GitLab