Fix references to api outside of parity.js (#4981)

This commit is contained in:
Nicolas Gotchac
2017-03-21 15:36:47 +01:00
committed by Jaco Greeff
parent 213f61e826
commit 9b9cd451d1
5 changed files with 7 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
const { api } = window.parity;
import { api } from '../parity';
export const SET_ACCOUNTS = 'SET_ACCOUNTS';
export const setAccounts = (accounts) => ({