Skip to content

Commit

Permalink
Fix flow error
Browse files Browse the repository at this point in the history
  • Loading branch information
wellyshen committed Aug 1, 2019
1 parent ee7aca8 commit f3a8f80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/Home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Home = loadable(() => import('./Home'), {
fallback: <Loading />
});

export default props => (
export default (props: { props: Object }) => (
<ErrorBoundary>
<Home {...props} />
</ErrorBoundary>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/UserInfo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const UserInfo = loadable(() => import('./UserInfo'), {
fallback: <Loading />
});

export default props => (
export default (props: { props: Object }) => (
<ErrorBoundary>
<UserInfo {...props} />
</ErrorBoundary>
Expand Down

0 comments on commit f3a8f80

Please sign in to comment.