mirror of
https://github.com/zoriya/flood.git
synced 2025-12-20 14:15:15 +00:00
Change const variable name
This commit is contained in:
@@ -4,7 +4,7 @@ import React from'react';
|
||||
import Icon from '../icons/Icon';
|
||||
import UIActions from '../../actions/UIActions';
|
||||
|
||||
const methodsToBind = [
|
||||
const METHODS_TO_BIND = [
|
||||
'handleKeyUp'
|
||||
];
|
||||
|
||||
@@ -16,7 +16,7 @@ export default class SearchBox extends React.Component {
|
||||
searchValue: ''
|
||||
};
|
||||
|
||||
methodsToBind.forEach((method) => {
|
||||
METHODS_TO_BIND.forEach((method) => {
|
||||
this[method] = this[method].bind(this);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user