Skip to content
Snippets Groups Projects
Commit 1c0b0181 authored by James D'Alton's avatar James D'Alton
Browse files

added 'Already have an account?' button

parent 52fa4db1
No related branches found
No related tags found
No related merge requests found
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'}`}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment