sforkowany z mirror/soapbox
Fall back to page title
rodzic
2afe0e0b56
commit
1963f46392
|
@ -10,14 +10,10 @@ const mapStateToProps = state => ({
|
|||
class SoapboxHelmet extends React.Component {
|
||||
|
||||
static propTypes = {
|
||||
siteTitle: PropTypes.string.isRequired,
|
||||
siteTitle: PropTypes.string,
|
||||
children: PropTypes.node,
|
||||
};
|
||||
|
||||
static defaultProps = {
|
||||
siteTitle: 'Soapbox',
|
||||
};
|
||||
|
||||
render() {
|
||||
const { siteTitle, children } = this.props;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue