We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fc85f0 commit e606a0cCopy full SHA for e606a0c
src/compiler/compile/render_dom/wrappers/Element/index.ts
@@ -405,7 +405,7 @@ export default class ElementWrapper extends Wrapper {
405
get_render_statement(block: Block) {
406
const { name, namespace } = this.node;
407
408
- if (namespace === 'http://www.w3.org/2000/svg') {
+ if (namespace === namespaces.svg) {
409
return x`@svg_element("${name}")`;
410
}
411
0 commit comments