We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7ffc26 commit 42eae5cCopy full SHA for 42eae5c
index.js
@@ -11,7 +11,7 @@ Object.getOwnPropertyNames(Globalize).forEach(function(fn) {
11
var formatter = function(nextProps) {
12
var componentProps = nextProps || this.props;
13
var propArgs = currentArgs.map(function(element) {
14
- return componentProps[element.replace(/(\s\/\*|\*\/)/,'')];
+ return componentProps[element.replace(/(\s\/\*|\*\/)/,'').trim()];
15
});
16
17
Globalize.locale( componentProps["locale"] );
0 commit comments