From 2945583cae441c55dedae08a6d62f38ab0b5f92a Mon Sep 17 00:00:00 2001 From: Shivam Kumar Date: Mon, 20 Jul 2026 15:26:49 +0530 Subject: [PATCH] SCAL-325035-4 added themeMode check in the explicitChoice also --- src/components/DevDocTemplate/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/DevDocTemplate/index.tsx b/src/components/DevDocTemplate/index.tsx index a53fb4481..563608c44 100644 --- a/src/components/DevDocTemplate/index.tsx +++ b/src/components/DevDocTemplate/index.tsx @@ -251,6 +251,7 @@ const isVersionedIframe = VERSION_DROPDOWN.some( if (explicitChoice) { const isDark = explicitChoice === 'dark'; setDarkMode(isDark); + return; } setDarkMode(false); setKey('dark');