diff --git a/src/reducers/index.js b/src/reducers/index.js index 19f3a266..29a7cdf3 100644 --- a/src/reducers/index.js +++ b/src/reducers/index.js @@ -23,5 +23,5 @@ export const selectEntry = (state, collection, slug) => export const selectEntries = (state, collection) => fromEntries.selectEntries(state.entries, collection); -export const getMedia = (state, fileName) => - fromMedias.getMedia(state.medias, fileName); +export const getMedia = (state, uri) => + fromMedias.getMedia(state.medias, uri);