1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-07-02 20:28:38 -04:00

Change definitions to const where appropriate

This commit is contained in:
2015-07-04 09:40:12 -04:00
parent 47ff76d868
commit cd24d5ecab
2 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ var MenuItem = ReactBootstrap.MenuItem;
var Row = ReactBootstrap.Row;
var Col = ReactBootstrap.Col;
var LoginBar = React.createClass({
const LoginBar = React.createClass({
getInitialState: function() {
return {username: '', password: ''};
},
@ -61,7 +61,7 @@ var LoginBar = React.createClass({
}
});
var LogoutBar = React.createClass({
const LogoutBar = React.createClass({
handleOnSelect: function(key) {
if (key == 1) {
if (this.props.onAccountSettings != null)
@ -91,7 +91,7 @@ var LogoutBar = React.createClass({
}
});
var TopBar = React.createClass({
const TopBar = React.createClass({
render: function() {
var barContents;
var errorAlert;