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