Skip to content

Commit

Permalink
feat(render): Remove surrounding divs in render function
Browse files Browse the repository at this point in the history
  • Loading branch information
apertureless committed Apr 5, 2018
1 parent 49a04e7 commit 9395fab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/hideAt.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}
if (shouldRender) {
return (<div>{ this.$slots.default }</div>)
return this.$slots.default[0]
}
return null
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/showAt.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}
if (shouldRender) {
return (<div>{ this.$slots.default }</div>)
return this.$slots.default[0]
}
return null
}
Expand Down

0 comments on commit 9395fab

Please sign in to comment.