mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-06 15:49:44 +02:00
chore: resolve eslint warnings in packages/mermaid/src/config.ts
This commit is contained in:
@@ -30,7 +30,7 @@ export const updateCurrentConfig = (siteCfg: MermaidConfig, _directives: Mermaid
|
||||
if (sumOfDirectives.theme && sumOfDirectives.theme in theme) {
|
||||
const tmpConfigFromInitialize = assignWithDepth({}, configFromInitialize);
|
||||
const themeVariables = assignWithDepth(
|
||||
tmpConfigFromInitialize.themeVariables || {},
|
||||
tmpConfigFromInitialize.themeVariables ?? {},
|
||||
sumOfDirectives.themeVariables
|
||||
);
|
||||
if (cfg.theme && cfg.theme in theme) {
|
||||
|
Reference in New Issue
Block a user