Skip to content

Commit

Permalink
fix: use literal instead of litteral
Browse files Browse the repository at this point in the history
Related to @h2x/[email protected]
  • Loading branch information
gregberge committed Sep 15, 2018
1 parent 2d9b7bd commit 7849fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/h2x/emSize.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const makeSizeAttr = name => {
const attr = new JSXAttribute()
attr.name = name
attr.value = '1em'
attr.litteral = false
attr.literal = false
return attr
}

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/h2x/svgRef.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const svgRef = () => () => ({
const props = new JSXAttribute()
props.name = 'ref'
props.value = 'svgRef'
props.litteral = true
props.literal = true
path.node.attributes.push(props)
path.replace(path.node)
}
Expand Down

0 comments on commit 7849fd4

Please sign in to comment.