more routing

This commit is contained in:
Brandon Thomas committed 2021-05-26 00:53:17 -04:00
1 parent 7da7fb75cb
commit aa51e09e23
1 file changed
+5
@@ -2,6 +2,7 @@ import React from 'react';
import { ApiConfig } from '../../v1/api/ApiConfig';
import { Mode } from '../../AppMode';
import { SessionWrapper } from '../../session/SessionWrapper';
import { Link } from 'react-router-dom';
enum FieldTriState {
EMPTY_FALSE,
@@ -301,6 +302,10 @@ class SignupComponent extends React.Component<Props, State> {
<div>
<h1 className="title is-1"> Sign Up </h1>
<Link to="/login"
className="button is-danger is-inverted"
>Already have an account? Log in instead!</Link>
<form onSubmit={this.handleFormSubmit}>
<div className="field">
<label className="label">Username</label>