Skip to content

Commit

Permalink
Merge pull request #29 from cryptape/fix-types-typo
Browse files Browse the repository at this point in the history
chore:  fix typo String to string
  • Loading branch information
dont-see-big-shark authored Nov 5, 2019
2 parents d51c851 + 65bc662 commit 1307770
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/layouts/account/detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ class TabContractCallContent extends React.Component<any, any> {
'.' + d.name + '-output'
)
if (Array.isArray(result)) {
for (var i: number = 0; i < outputs.length; i++) {
var output = outputs[i] as HTMLInputElement
for (let i: number = 0; i < outputs.length; i++) {
let output = outputs[i] as HTMLInputElement
output.value = result[i]
}
} else {
Expand Down
10 changes: 5 additions & 5 deletions src/redux/states/transaction.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export interface TransactionItem {
blockHash: string
blockNumber: String
content: String
from: String
hash: String
index: String
blockNumber: string
content: string
from: string
hash: string
index: string
unsignedTransaction: any
}
export interface TransactionReceiptItem {}
Expand Down

0 comments on commit 1307770

Please sign in to comment.