chore: Port over mission statement and gtag (#34262)
- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md). - [x] My pull request has a descriptive title (not a vague title like `Update index.md`) - [x] My pull request targets the `master` branch of freeCodeCamp. Closes #18184
This commit is contained in:
committed by
mrugesh mohapatra
parent
4a59a669e3
commit
dbfab5b118
@@ -6,6 +6,8 @@ import { Button } from '@freecodecamp/react-bootstrap';
|
||||
import { hardGoTo } from '../../../redux';
|
||||
import { apiLocation } from '../../../../config/env.json';
|
||||
|
||||
import { gtagReportConversion } from '../../../analytics/gtag';
|
||||
|
||||
import './login.css';
|
||||
|
||||
const mapStateToProps = () => ({});
|
||||
@@ -15,6 +17,7 @@ const mapDispatchToProps = dispatch => ({
|
||||
|
||||
const createOnClick = navigate => e => {
|
||||
e.preventDefault();
|
||||
gtagReportConversion();
|
||||
return navigate(`${apiLocation}/signin`);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user