mirror of
https://github.com/zoriya/flood.git
synced 2025-12-20 06:05:15 +00:00
Change const variable name
This commit is contained in:
@@ -3,7 +3,7 @@ import React from 'react';
|
||||
|
||||
import Icon from '../icons/Icon.js';
|
||||
|
||||
const methodsToBind = [
|
||||
const METHODS_TO_BIND = [
|
||||
'getTextboxes',
|
||||
'handleTextboxChange'
|
||||
];
|
||||
@@ -13,7 +13,7 @@ export default class TextboxRepeater extends React.Component {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
methodsToBind.forEach((method) => {
|
||||
METHODS_TO_BIND.forEach((method) => {
|
||||
this[method] = this[method].bind(this);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user