mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Merge branch 'pr/RohanHandore/4340' into develop
* pr/RohanHandore/4340: Remove optional chaining
This commit is contained in:
commit
6fa97a8b71
@ -60,7 +60,10 @@ export const imgSnapshotTest = (
|
||||
sequence: {
|
||||
...(_options.sequence || {}),
|
||||
actorFontFamily: 'courier',
|
||||
noteFontFamily: _options.sequence?.noteFontFamily || 'courier',
|
||||
noteFontFamily:
|
||||
_options.sequence && _options.sequence.noteFontFamily
|
||||
? _options.sequence.noteFontFamily
|
||||
: 'courier',
|
||||
messageFontFamily: 'courier',
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user