mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 08:57:03 +02:00
fix(v2): fix missing logo in dark theme when darkSrc was not set (#3784)
This commit is contained in:
parent
4fbece2383
commit
a4e0992b27
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ const Logo = (props: Props): JSX.Element => {
|
|||
: {};
|
||||
const sources = {
|
||||
light: useBaseUrl(logo.src),
|
||||
dark: useBaseUrl(logo.srcDark),
|
||||
dark: useBaseUrl(logo.srcDark || logo.src),
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue