Skip to content

Commit 1609c23

Browse files
alunnyrxaviers
authored andcommitted
Set args[0] correctly in src/message
Ref #25
1 parent 386f666 commit 1609c23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/message.js

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ function messageSetup(componentProps, instance, args) {
4949

5050
// Set path - path as props supercedes default value
5151
if (pathProperty) {
52+
args[0] = pathProperty;
5253
path = pathProperty.split("/");
5354
} else {
5455
defaultMessage = getDefaultMessage(children);

0 commit comments

Comments
 (0)