use object destructuring for getConfig in infoRenderer

This commit is contained in:
Yokozuna59 2023-06-14 22:04:28 +03:00
parent 6ff33149e0
commit 0cc93d38c6
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ export const draw: DrawDefinition = (text, id, version) => {
try {
log.debug('rendering info diagram\n' + text);
const securityLevel = getConfig().securityLevel;
const { securityLevel } = getConfig();
// handle root and document for when rendering in sandbox mode
let sandboxElement: HTML | undefined;
let document: Document | null | undefined;