Fall back to page title
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user