Skip to content

Commit

Permalink
fix(properties): correctly set names
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbonnet committed Mar 18, 2019
1 parent e60162e commit c6d85e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ export function editableProp(options) {
return (Component) =>
setWrapperName(
Component,
class editable extends BaseComponent {
class editableProp extends BaseComponent {
constructor(props) {
super(props)
this.state = {
Expand Down Expand Up @@ -388,7 +388,7 @@ export function syncedProp(options) {
return (Component) =>
setWrapperName(
Component,
class synced extends BaseComponent {
class syncedProp extends BaseComponent {
constructor(props) {
super(props)
const { value } = props
Expand Down Expand Up @@ -474,7 +474,7 @@ export function resilientProp(name) {
return (Component) =>
setWrapperName(
Component,
class resiliant extends BaseComponent {
class resilientProp extends BaseComponent {
constructor(props) {
super(props)
this.state = { [name]: props[name] }
Expand Down

0 comments on commit c6d85e4

Please sign in to comment.