mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
remove diagramTheme
arrow function return
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
This commit is contained in:
parent
c439424511
commit
f020f4a292
@ -78,7 +78,7 @@ export const addStylesForDiagram = (
|
||||
diagramTheme?: (options?: any) => string
|
||||
): void => {
|
||||
if (diagramTheme !== undefined) {
|
||||
themes[type] = (options) => diagramTheme(options);
|
||||
themes[type] = diagramTheme;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user