Skip to content

Commit

Permalink
Merge pull request #970 from hanneskaeufler/patch-1
Browse files Browse the repository at this point in the history
Nitpick: Rename constant for clarity.
  • Loading branch information
jorgebucaran authored Jul 26, 2020
2 parents b3313e2 + 286debf commit 26312af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/html/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const EMPTY_ARR = []
const NO_CHILDREN = []

const h = (type) => (props, children = EMPTY_ARR) => ({
const h = (type) => (props, children = NO_CHILDREN) => ({
type,
props,
children: Array.isArray(children) ? children : [children],
Expand Down

0 comments on commit 26312af

Please sign in to comment.