Skip to content

Commit

Permalink
Fix the missing statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
Joozty committed Oct 28, 2020
1 parent b7c5747 commit 0df47f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/_app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class App extends NextApp {

const { initialState, ...restPageProps } = pageProps || {}
return (
<Main initialState={initialState}>
<Component {...restPageProps} statistics={statistics} />
<Main initialState={{ ...initialState, statistics }}>
<Component {...restPageProps} />
</Main>
)
}
Expand Down

1 comment on commit 0df47f9

@vercel
Copy link

@vercel vercel bot commented on 0df47f9 Oct 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.