aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Use.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Use.js')
-rw-r--r--src/elements/Use.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Use.js b/src/elements/Use.js
index 43a4e9b..5808988 100644
--- a/src/elements/Use.js
+++ b/src/elements/Use.js
@@ -5,7 +5,7 @@ import Shape from './Shape.js'
export default class Use extends Shape {
constructor (node) {
- super(nodeOrNew('use', node), Use)
+ super(nodeOrNew('use', node), node)
}
// Use element as a reference