remove typeof
This commit is contained in:
parent
f036d58ec3
commit
bfe3f309d2
|
@ -34,7 +34,7 @@ export function addSVGa11yTitleDescription(
|
|||
a11yDesc: string | null | undefined,
|
||||
baseId: string
|
||||
) {
|
||||
if (typeof svg.insert === 'undefined') {
|
||||
if (svg.insert === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue