mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
more routing
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user