Skip to content

Commit

Permalink
Fix: incorrect prop name passed for locale
Browse files Browse the repository at this point in the history
  • Loading branch information
kidroca committed Aug 5, 2021
1 parent 474a149 commit ac4c51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/withLocalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class LocaleContextProvider extends React.Component {
timestampToDateTime: this.timestampToDateTime.bind(this),
fromLocalPhone: this.fromLocalPhone.bind(this),
toLocalPhone: this.toLocalPhone.bind(this),
locale: this.props.preferredLocale,
preferredLocale: this.props.preferredLocale,
};
}

Expand Down

0 comments on commit ac4c51b

Please sign in to comment.