diff --git a/homepage/src/pages/admin/preview/CardPreview.jsx b/homepage/src/pages/admin/preview/CardPreview.jsx index 9bf2be6d..0b6821d8 100644 --- a/homepage/src/pages/admin/preview/CardPreview.jsx +++ b/homepage/src/pages/admin/preview/CardPreview.jsx @@ -3,7 +3,7 @@ import { processCard } from '../../../lib/processCard'; export const CardPreview = ({ entry, getAsset, assetsByLocale }) => { const locale = 'en'; - const assets = assetsByLocale['en']; + const assets = assetsByLocale[locale]; const data = entry.getIn(['data']).toJS(); const content = data.body;