chore(plugin-annotations): Linter warnings
This commit is contained in:
parent
3eb0f11abb
commit
9869bb245d
5 changed files with 8 additions and 10 deletions
|
@ -5,9 +5,7 @@ const logo = (scale) =>
|
|||
export const logoHooks = {
|
||||
preRender: [
|
||||
function (svg) {
|
||||
for (const def of svg.defs) {
|
||||
if (svg.defs.indexOf('id="logo"') === -1) svg.defs += logo(svg.pattern.settings[0].scale)
|
||||
}
|
||||
if (svg.defs.indexOf('id="logo"') === -1) svg.defs += logo(svg.pattern.settings[0].scale)
|
||||
},
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue