From ca5d666e454f41870b236b91a1fd62423369603d Mon Sep 17 00:00:00 2001 From: petitPapillon Date: Sun, 11 Jun 2017 23:08:05 +0200 Subject: [PATCH] triggerToaster call - remove 'display' property --- 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 85ce5f5..c684408 100644 --- a/react/src/components/addcoin/addcoin.js +++ b/react/src/components/addcoin/addcoin.js @@ -283,7 +283,7 @@ class AddCoin extends React.Component { for (let mode of modes) { if (this.existingCoins[mode].indexOf(coin) !== -1) { const message = `${coin} ${translate('ADD_COIN.ALREADY_ADDED')} ${translate('ADD_COIN.IN')} ${mode} ${translate('ADD_COIN.MODE')}`; - Store.dispatch(triggerToaster(true, message, translate('ADD_COIN.COIN_ALREADY_ADDED'), 'error')); + Store.dispatch(triggerToaster(message, translate('ADD_COIN.COIN_ALREADY_ADDED'), 'error')); return true; } }