Skip to content
This repository was archived by the owner on Mar 27, 2018. It is now read-only.

Commit 4ae05e2

Browse files
author
Ian Wensink
committed
fix(entity-mapper): fix deprecation of page prop
1 parent bfdaf8d commit 4ae05e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/DrupalPage/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ class DrupalPage extends Component {
113113
mapper={this.props.mapper}
114114
uuid={this.state.pageUuid}
115115
asyncMapper={this.props.asyncMapper}
116-
entityProps={this.props.pageProps}
117-
page={data}
116+
entityProps={{ ...this.props.pageProps, page: data }}
118117
ref={(c) => { this.entity = c; }}
119118
/>
120119
</Layout>

0 commit comments

Comments
 (0)