Skip to content

Commit

Permalink
refactor(hiccup): remove obsolete deref check
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Apr 8, 2018
1 parent 4ed84eb commit fcf1404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hiccup/src/serialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const normalize = (tag: any[]) => {
if (tag.length > 1) {
let i = 1;
const att = tag[1];
if (isPlainObject(att) && !implementsFunction(att, "deref")) {
if (isPlainObject(att)) {
Object.assign(attribs, att);
i++;
}
Expand Down

0 comments on commit fcf1404

Please sign in to comment.