diff --git a/compforge/src/Components/Signup.react.jsx b/compforge/src/Components/Signup.react.jsx index a7c486c20766384a34958775dd89484cdae71430..c2d508def5d535c5b59bf66747c173ffa6778f33 100644 --- a/compforge/src/Components/Signup.react.jsx +++ b/compforge/src/Components/Signup.react.jsx @@ -1,6 +1,6 @@ import React, { useState } from "react"; import { connect } from "react-redux"; -import { Redirect } from "react-router-dom"; +import { Link, Redirect } from "react-router-dom"; import { createUser } from "../actions"; import { withStyles } from "@material-ui/styles"; @@ -120,6 +120,11 @@ const Signup = (props) => { Incorrect email or password. </Typography> )} + + <Typography component="p" className={classes.password}> + <Link variant="outlined" size='small' style={{ fontSize: 10 }} color="primary" to={'/login'} > Already have an account? </Link> + </Typography> + {createError?.isError && ( <Typography component="p" className={classes.errorText}> {`${createError?.message ? createError.message : 'Error'}`}