feat: add button to add cert to LinkedIn profile (#39466)

This commit is contained in:
Tom
2020-09-24 07:03:11 -05:00
committed by GitHub
parent 5eed1f6ea1
commit 422bacd15d
3 changed files with 137 additions and 9 deletions

View File

@@ -4,6 +4,7 @@ import { connect } from 'react-redux';
import { fetchUser, isSignedInSelector, executeGA } from '../../redux';
import { createSelector } from 'reselect';
import Helmet from 'react-helmet';
const mapStateToProps = createSelector(
isSignedInSelector,
@@ -22,8 +23,16 @@ class CertificationLayout extends Component {
}
this.props.executeGA({ type: 'page', data: pathname });
}
render() {
return <Fragment>{this.props.children}</Fragment>;
const { children } = this.props;
return (
<Fragment>
<Helmet bodyAttributes={{ class: 'light-palette' }}></Helmet>
{children}
</Fragment>
);
}
}