Skip to content

Commit

Permalink
fix: 🐛 Fix spread usage of I18n Wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
CPatchane authored Jun 17, 2019
1 parent fe1e75a commit b39adba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/I18n/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const translate = () => WrappedComponent => {
)
}
Wrapper.propTypes = {
...(WrappedComponent.propTypes || {}),
...WrappedComponent.propTypes,
...i18nContextTypes
}
Wrapper.contextTypes = i18nContextTypes
Expand Down

0 comments on commit b39adba

Please sign in to comment.