From b74547766beab7b275a7a30b30aab3f78a5b9ef8 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Sun, 7 May 2017 13:04:47 +0300 Subject: [PATCH] add single coin fix --- react/src/components/addcoin/addcoin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/src/components/addcoin/addcoin.js b/react/src/components/addcoin/addcoin.js index daf8887..a8b4077 100644 --- a/react/src/components/addcoin/addcoin.js +++ b/react/src/components/addcoin/addcoin.js @@ -156,7 +156,7 @@ class AddCoin extends React.Component { } activateCoin() { - Store.dispatch(addCoin(this.state.selectedCoin.split('|')[0], this.state.mode, this.state.syncOnly)); + Store.dispatch(addCoin(this.state.coins[0].selectedCoin.split('|')[0], this.state.coins[0].mode, this.state.coins[0].syncOnly)); } dismiss() {