Fall back to page title

merge-requests/1/head
Alex Gleason 2020-04-21 12:04:00 -05:00
rodzic 2afe0e0b56
commit 1963f46392
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -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;