Update packages/docusaurus-theme-bootstrap/src/theme/ThemedImage/index.tsx

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
This commit is contained in:
Joshua Chen 2021-06-18 18:42:05 +08:00 committed by GitHub
parent 9ff6f9259d
commit 4c17e4c8fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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