remove diagramTheme arrow function return

Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
This commit is contained in:
Yokozuna59 2023-06-26 19:12:04 +03:00 committed by GitHub
parent c439424511
commit f020f4a292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ export const addStylesForDiagram = (
diagramTheme?: (options?: any) => string
): void => {
if (diagramTheme !== undefined) {
themes[type] = (options) => diagramTheme(options);
themes[type] = diagramTheme;
}
};