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

Add keys to help react out

This commit is contained in:
2016-02-13 10:19:28 -05:00
parent 2a8c79cc14
commit 41361b040c
2 changed files with 6 additions and 2 deletions

View File

@ -287,7 +287,7 @@ const AddEditTransactionModal = React.createClass({
var deleteButton = [];
if (editing) {
deleteButton = (
<Button onClick={this.handleDelete} bsStyle="danger">Delete Transaction</Button>
<Button key={1} onClick={this.handleDelete} bsStyle="danger">Delete Transaction</Button>
);
}
@ -346,7 +346,7 @@ const AddEditTransactionModal = React.createClass({
}
splits.push((
<Row>
<Row key={s.SplitId}>
<Col xs={1}><Input
type="text"
value={s.Number}
@ -808,6 +808,7 @@ module.exports = React.createClass({
var t = this.state.transactions[i];
transactionRows.push((
<TransactionRow
key={t.TransactionId}
transaction={t}
account={this.props.selectedAccount}
accounts={this.props.accounts}