From 3f11a93056f98cbbae9207744ee4121973c5b030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A1ssio=20Zen?= Date: Thu, 16 Jun 2016 17:50:36 -0300 Subject: [PATCH] correct entity name --- src/reducers/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);