mirror of
https://github.com/ascribe/onion.git
synced 2024-12-31 09:07:48 +01:00
Fixes for converting pieceFetcher into store
This commit is contained in:
parent
7a53d539a6
commit
03490b8c63
@ -2,7 +2,7 @@
|
||||
|
||||
import requests from '../utils/requests';
|
||||
|
||||
import PieceActions from '../actions/edition_actions';
|
||||
import PieceActions from '../actions/piece_actions';
|
||||
|
||||
|
||||
const PieceSource = {
|
||||
|
@ -34,7 +34,7 @@ class PieceStore {
|
||||
onFetchPiece(idToFetch) {
|
||||
this.pieceMeta.idToFetch = idToFetch;
|
||||
|
||||
this.getInstance.lookupPiece();
|
||||
this.getInstance().lookupPiece();
|
||||
}
|
||||
|
||||
onSuccessFetchPiece({ piece }) {
|
||||
|
Loading…
Reference in New Issue
Block a user