📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
(fix) auth
kruzhambus2be03b477cb0
diff --git a/src/pages/Auth/Signup/BasicSignup.tsx b/src/pages/Auth/Signup/BasicSignup.tsxindex c792b15e8..325a5a9ea 100644--- a/src/pages/Auth/Signup/BasicSignup.tsx+++ b/src/pages/Auth/Signup/BasicSignup.tsx@@ -1,6 +1,7 @@import React, { memo, useState, useEffect } from 'react'import sagaActions from 'redux/sagas/actions'import { useTranslation, Trans } from 'react-i18next'+import { useHistory } from 'react-router-dom'import _size from 'lodash/size'import _keys from 'lodash/keys'import _isEmpty from 'lodash/isEmpty'@@ -18,6 +19,7 @@ import { trackCustom } from 'utils/analytics'import { useAppDispatch } from 'redux/store'import GoogleAuth from 'components/GoogleAuth'import GithubAuth from 'components/GithubAuth'+import routes from 'routes'interface ISignUpForm {email: string,@@ -34,6 +36,7 @@ const BasicSignup = (): JSX.Element => {[key: string]: string | number,}) => string,} = useTranslation('common')+ const history = useHistory()const dispatch = useAppDispatch()const [form, setForm] = useState<ISignUpForm>({email: '',@@ -56,6 +59,7 @@ const BasicSignup = (): JSX.Element => {const signUpCallback = (result: boolean) => {if (result) {trackCustom('SIGNUP_BASIC')+ history.push(routes.dashboard)} else {setIsLoading(false)}