render () {
for (let item of this.hobbies) {
this.node = createElement('div', { className: 'categories' }, new HobbyItem(item, this.userId, this.element, this).render())
this.element.append(this.node)
}
}
removeItem (itemId) {
this.mutations.removeHobby({ userId: this.userId, itemId })
}