Skip to content
Snippets Groups Projects
Verified Commit 9bb7b275 authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Reimport route enum.

parent 928150cd
No related branches found
No related tags found
2 merge requests!56Refined auth flow and new website pages.,!42Feature/registration
This commit is part of merge request !42. Comments created here will be created in the context of that merge request.
import React, { FC } from 'react';
import Container from '@material-ui/core/Container';
import { Route, useRouteMatch } from 'react-router-dom';
import { NonAuthRoutes } from 'components/api/routes';
import { NonAuthRoutes } from 'api/routes';
import { SignInForm } from 'components/AuthUser/SignInForm/SignInForm';
import { SignUpForm } from 'components/AuthUser/SignUpForm/SignUpForm';
......
import React, { FC } from 'react';
import Button from '@material-ui/core/Button';
import axios from 'axios';
import { NonAuthRoutes } from 'components/api/routes';
import { NonAuthRoutes } from 'api/routes';
import { useHistory } from 'react-router-dom';
export const ProfilePage: FC = () => {
......
......@@ -4,7 +4,7 @@ import { SubmitHandler, useForm } from 'react-hook-form';
import { Button } from '@material-ui/core';
import { InputField } from 'components/AuthUser/InputField/InputField';
import { useHistory } from 'react-router-dom';
import { AuthRoutes } from 'components/api/routes';
import { AuthRoutes } from 'api/routes';
import { useStyles } from './useStyles';
export const SignInForm: FC = () => {
......
import React, { FC } from 'react';
import Button from '@material-ui/core/Button';
import { Link } from 'react-router-dom';
import { NonAuthRoutes } from 'components/api/routes';
import { NonAuthRoutes } from 'api/routes';
export const LandingPage: FC = () => (
<>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment