mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-21 10:37:51 +02:00
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:
parent
9ff6f9259d
commit
4c17e4c8fd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue