From 4c17e4c8fd14be67b12ec8f1221795e2462ca879 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Fri, 18 Jun 2021 18:42:05 +0800 Subject: [PATCH] Update packages/docusaurus-theme-bootstrap/src/theme/ThemedImage/index.tsx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sébastien Lorber --- .../docusaurus-theme-bootstrap/src/theme/ThemedImage/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus-theme-bootstrap/src/theme/ThemedImage/index.tsx b/packages/docusaurus-theme-bootstrap/src/theme/ThemedImage/index.tsx index 82cabd332a..56a9150963 100644 --- a/packages/docusaurus-theme-bootstrap/src/theme/ThemedImage/index.tsx +++ b/packages/docusaurus-theme-bootstrap/src/theme/ThemedImage/index.tsx @@ -21,7 +21,7 @@ const ThemedImage = (props: Props): JSX.Element => { type SourceName = keyof Props['sources']; - const clientTheme: SourceName[] = isDarkTheme ? ['dark'] : ['light']; + const clientThemes: SourceName[] = isDarkTheme ? ['dark'] : ['light']; const renderedSourceNames: SourceName[] = isClient ? clientTheme