Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Serghei Ghidora authored and Serghei Ghidora committed Mar 12, 2024
1 parent fab09cc commit 93d9e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/render/src/primitives/renderSvg.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const renderFns = {
const renderNode = (ctx, node) => {
const renderFn = renderFns[node.type];

if (renderFns) {
if (renderFn) {
renderFn(ctx, node);
} else {
console.warn(`SVG node of type ${node.type} is not currenty supported`);
Expand Down

0 comments on commit 93d9e5c

Please sign in to comment.