Skip to content

Commit

Permalink
Merge pull request #7 from FriendsOfECMAScript/fix/typos
Browse files Browse the repository at this point in the history
Typos fixes
  • Loading branch information
benatespina authored Jun 26, 2018
2 parents dd39e05 + 0b4d3cf commit f1fb979
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ This changelog references the relevant changes done between versions.
To get the diff for a specific change, go to https://github.com/FriendsOfECMAScript/ReactI18nRouting/commit/XXX where XXX is the change hash
To get the diff between two versions, go to https://github.com/FriendsOfECMAScript/ReactI18nRouting/compare/v0.4.0...v0.5.0

* 0.5.1
* Fixed PropType reference in the basic usage chapter from documentation.
* Fixed wrong PropType in the BrowserIntlProvider.
* 0.5.0
* Added documentation basic structure and written some chapters.
* Implemented HOC to avoid Boilerplate bootstrapping the redux browser intl provider.
* Implemented HOC to avoid Boilerplate bootstrapping the Redux browser intl provider.
* 0.4.0
* Added `FormattedRedirect` and `FormattedNavLink` components.
* 0.3.0
Expand Down
4 changes: 2 additions & 2 deletions docs/basic_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
en: '/news/**',
es: '/noticia/**',
eu: '/albistea/**',
fr: '/news/**',
fr: '/nouvelles/**',
},
[PAGE]: {
en: '/page/**',
Expand Down Expand Up @@ -116,7 +116,7 @@ const renderMethod = module.hot ? ReactDOM.render : ReactDOM.hydrate;
renderMethod(
<Provider store={store}>
<ReduxBrowserIntlProvider
formats={{formatIntlRoute: i18n.formatIntlRoute}}
formatIntlRoute={i18n.formatIntlRoute}
history={history}
localeFromPath={i18n.localeFromLocation}
messages={i18n.messages}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@foes/react-i18n-routing",
"version": "0.5.0",
"version": "0.5.1",
"license": "MIT",
"description": "Provides components and functions to make i18n routing React apps with ease.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/component/BrowserIntlProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import PropTypes from 'prop-types';
class BrowserIntlProvider extends React.Component {
static propTypes = {
children: PropTypes.node,
formats: PropTypes.func.isRequired,
formats: PropTypes.object.isRequired,
handleLocationChange: PropTypes.func.isRequired,
history: PropTypes.object.isRequired,
isSSR: PropTypes.bool,
Expand Down

0 comments on commit f1fb979

Please sign in to comment.