Skip to content

Commit 22fea7e

Browse files
author
David Schumann
committed
fix bug in rules.js. How did this ever work?
1 parent f9966bf commit 22fea7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default styles => ({
9696
react: (node, output, parentState) => {
9797
const state = { ...parentState }
9898
state.withinText = true
99-
const stylesToApply = [styles.heading, styles[`heading ${node.level}`]]
99+
const stylesToApply = [styles.heading, styles[`heading${node.level}`]]
100100
state.stylesToApply = stylesToApply
101101
return createElement(
102102
Text,

0 commit comments

Comments
 (0)