Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dvoytenko committed Feb 5, 2020
1 parent 1229224 commit ec57067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/src/edit-story/output/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ function OutputPage( { page } ) {
// supported.
fontSize: `calc(100 * min(var(--story-page-vh), var(--story-page-vw) * ${ PAGE_HEIGHT / PAGE_WIDTH }))`,
};
const backgroundElements = page.elements.filter( (element) => element.id === page.backgroundElementId );
const nonBackgroundElements = page.elements.filter( (element) => element.id !== page.backgroundElementId );
const backgroundElements = page.elements.filter( ( element ) => element.id === page.backgroundElementId );
const nonBackgroundElements = page.elements.filter( ( element ) => element.id !== page.backgroundElementId );
return (
<amp-story-page id={ id }>
<amp-story-grid-layer template="vertical">
Expand Down

0 comments on commit ec57067

Please sign in to comment.