diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-12-10 23:02:00 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-12-10 23:02:00 +0100 |
commit | 3c882c44b5aba1ae397a2b89f99f4cdb82fbbbfa (patch) | |
tree | 842d51eb84dcc48ed4240c27551c973bd369ef6d /src/webex/pages/return-coins.tsx | |
parent | 0469abd4a9c9270a1fdc962969e36e63699af8b4 (diff) | |
download | wallet-core-3c882c44b5aba1ae397a2b89f99f4cdb82fbbbfa.tar.xz |
fix problems found by newer TypeScript compiler
Diffstat (limited to 'src/webex/pages/return-coins.tsx')
-rw-r--r-- | src/webex/pages/return-coins.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webex/pages/return-coins.tsx b/src/webex/pages/return-coins.tsx index 453ae4784..5bcb2252a 100644 --- a/src/webex/pages/return-coins.tsx +++ b/src/webex/pages/return-coins.tsx @@ -189,9 +189,9 @@ interface ReturnCoinsState { lastConfirmedDetail: SelectedDetail | undefined; } -class ReturnCoins extends React.Component<any, ReturnCoinsState> { - constructor() { - super(); +class ReturnCoins extends React.Component<{}, ReturnCoinsState> { + constructor(props: {}) { + super(props); const port = chrome.runtime.connect(); port.onMessage.addListener((msg: any) => { if (msg.notify) { |