Skip to content

Commit

Permalink
Fix positional translation arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed Dec 9, 2017
1 parent b232a68 commit 81d94ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/hocs/translation-provider.jsx
Expand Up @@ -33,7 +33,7 @@ export default class TranslationProvider extends React.Component {

getChildContext() {
return {
translate: (key, ...args) => this.props.translator.translate(key, args),
translate: (key, ...args) => this.props.translator.translate(key, ...args),
};
}

Expand Down

0 comments on commit 81d94ad

Please sign in to comment.