Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Commit

Permalink
fix(standalone): Fix standalone footer (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish authored Nov 28, 2018
1 parent 955a153 commit eaed07e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions standalone/header-footer/src/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ const renderFileForLocale = (Component, props, locale) => {
const renderProps = { ...props, ...localeProps };

return {
[`/${fileName}.html`]: renderHtml(Header, renderProps),
[`/${fileName}__preview.html`]: renderHtml(Header, renderProps, { preview: true })
[`/${fileName}.html`]: renderHtml(Component, renderProps),
[`/${fileName}__preview.html`]: renderHtml(Component, renderProps, { preview: true })
};
};

Expand Down

0 comments on commit eaed07e

Please sign in to comment.