- // use our state getter for the clone
- const state = this.state;
- return state.hasOwnProperty(prop) ? state[prop] : state;
+ /**
+ * Use our state getter for the clone.
+ */
+ const state = this.state
+ return state.hasOwnProperty(prop) ? state[prop] : state