Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit e1d938a

Browse files
Merge pull request #5 from eugene-manuilov/release/0.3.1
Release/0.3.1
2 parents 1778757 + 56bc007 commit e1d938a

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## v0.3.1 (2017-06-28)
4+
5+
**Fixed issues:**
6+
7+
- Fixed warning which happened when children prop was a node.
8+
39
## v0.3.0 (2017-06-26)
410

511
**Implemented enhancements:**

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react-gettext 0.3.0
1+
# react-gettext 0.3.1
22

33
[![Build Status](https://travis-ci.org/eugene-manuilov/react-gettext.svg?branch=master)](https://travis-ci.org/eugene-manuilov/react-gettext)
44

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"bugs": {
88
"url": "https://github.com/eugene-manuilov/react-gettext/issues"
99
},
10-
"version": "0.3.0",
10+
"version": "0.3.1",
1111
"main": "lib/index",
1212
"files": [
1313
"*.md",

src/Textdomain.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ Textdomain.propTypes = {
114114
PropTypes.func,
115115
PropTypes.string,
116116
]),
117-
children: PropTypes.arrayOf(PropTypes.node),
117+
children: PropTypes.oneOfType([
118+
PropTypes.node,
119+
PropTypes.arrayOf(PropTypes.node),
120+
]),
118121
};
119122

120123
Textdomain.defaultProps = {

0 commit comments

Comments
 (0)