1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Remove unnecessary lookup in example with emotion (#2731)

This commit is contained in:
Matija Marohnić 2017-08-09 17:26:45 +02:00 committed by Tim Neutkens
parent 8f2677e42a
commit 029bac4fd9

View file

@ -16,7 +16,7 @@ export default class MyDocument extends Document {
super(props)
const { __NEXT_DATA__, ids } = props
if (ids) {
__NEXT_DATA__.ids = this.props.ids
__NEXT_DATA__.ids = ids
}
}