Skip to content

Commit

Permalink
Clean-up standard behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Desmaisons committed Aug 29, 2019
1 parent d8a0ee8 commit 1969811
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/behaviors/StandardBehavior.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Renderless component providing the collapse on click behavior.
* Render-less component providing the collapse on click behavior.
*Can be used as a behavior slot of tree component.
*/
export default {
Expand All @@ -21,10 +21,7 @@ export default {
}
},

render () {
// no rendering
return null
},
render: () => null,

created () {
const {on, actions} = this
Expand Down

0 comments on commit 1969811

Please sign in to comment.