From 03490b8c6300fe2cdbc6d0bd075118a1f7925b70 Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Thu, 14 Jan 2016 16:44:52 +0100 Subject: [PATCH] Fixes for converting pieceFetcher into store --- js/sources/piece_source.js | 2 +- js/stores/piece_store.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/sources/piece_source.js b/js/sources/piece_source.js index 7ec8bd12..5f93c2f8 100644 --- a/js/sources/piece_source.js +++ b/js/sources/piece_source.js @@ -2,7 +2,7 @@ import requests from '../utils/requests'; -import PieceActions from '../actions/edition_actions'; +import PieceActions from '../actions/piece_actions'; const PieceSource = { diff --git a/js/stores/piece_store.js b/js/stores/piece_store.js index cd5403ef..ff19b05a 100644 --- a/js/stores/piece_store.js +++ b/js/stores/piece_store.js @@ -34,7 +34,7 @@ class PieceStore { onFetchPiece(idToFetch) { this.pieceMeta.idToFetch = idToFetch; - this.getInstance.lookupPiece(); + this.getInstance().lookupPiece(); } onSuccessFetchPiece({ piece }) {