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 }) {