Skip to content

Commit

Permalink
style(table): Do it in one line
Browse files Browse the repository at this point in the history
  • Loading branch information
craftzdog committed Nov 19, 2018
1 parent 7f3f337 commit 407878d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ function rehype2react(options) {
}
}

var hast = tableCellStyle(node);

return toH(h, hast, settings.prefix);
return toH(h, tableCellStyle(node), settings.prefix);
}

/* Wrap `createElement` to pass components in. */
Expand Down

0 comments on commit 407878d

Please sign in to comment.