fix pages exports

This commit is contained in:
Ruidy Nemausat 2020-04-23 19:27:34 +02:00
parent 47fa15e229
commit be51487c36
9 changed files with 21 additions and 39 deletions

View file

@ -1,15 +1,13 @@
import React from "react"; import React from "react";
import { Route, Switch } from "react-router-dom"; import { Route, Switch } from "react-router-dom";
import * as ROUTES from "../../constants/routes"; import * as ROUTES from "../../constants/routes";
import { import AppPage from "../../pages/App";
LandingPage, import LandingPage from "../../pages/Landing";
SignUpPage, import SignUpPage from "../../pages/SignUp";
SignInPage, import SignInPage from "../../pages/SignIn";
PasswordForgetPage, import PasswordForgetPage from "../../pages/PasswordForget";
AppPage, import AccountPage from "../../pages/Account";
AccountPage, import AdminPage from "../../pages/Admin";
AdminPage,
} from "../../pages/index";
export default function MainRouter() { export default function MainRouter() {
return ( return (

View file

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import { Container } from "reactstrap"; import { Container } from "reactstrap";
import ItemModal from "../ItemModal"; import ItemModal from "../../components/ItemModal";
import List from "../List"; import List from "../../components/List";
export default function AccountPage() { export default function AccountPage() {
return ( return (

View file

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import { Container } from "reactstrap"; import { Container } from "reactstrap";
import ItemModal from "../ItemModal"; import ItemModal from "../../components/ItemModal";
import List from "../List"; import List from "../../components/List";
export default function AdminPage() { export default function AdminPage() {
return ( return (

View file

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import { Container } from "reactstrap"; import { Container } from "reactstrap";
import ItemModal from "../ItemModal"; import ItemModal from "../../components/ItemModal";
import List from "../List"; import List from "../../components/List";
export default function AppPage() { export default function AppPage() {
return ( return (

View file

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import { Container } from "reactstrap"; import { Container } from "reactstrap";
import ItemModal from "../ItemModal"; import ItemModal from "../../components/ItemModal";
import List from "../List"; import List from "../../components/List";
export default function LandingPage() { export default function LandingPage() {
return ( return (

View file

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import { Container } from "reactstrap"; import { Container } from "reactstrap";
import ItemModal from "../ItemModal"; import ItemModal from "../../components/ItemModal";
import List from "../List"; import List from "../../components/List";
export default function PasswordForgetPage() { export default function PasswordForgetPage() {
return ( return (

View file

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import { Container } from "reactstrap"; import { Container } from "reactstrap";
import ItemModal from "../ItemModal"; import ItemModal from "../../components/ItemModal";
import List from "../List"; import List from "../../components/List";
export default function SignInPage() { export default function SignInPage() {
return ( return (

View file

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import { Container } from "reactstrap"; import { Container } from "reactstrap";
import ItemModal from "../ItemModal"; import ItemModal from "../../components/ItemModal";
import List from "../List"; import List from "../../components/List";
export default function SignUpPage() { export default function SignUpPage() {
return ( return (

View file

@ -1,16 +0,0 @@
import AppPage from "./App";
import LandingPage from "./Landing"
import SignUpPage from "./SignUp"
import SignInPage from "./SignIn"
import PasswordForgetPage from "./PasswordForget"
import AccountPage from "./Account"
import AdminPage from "./Admin"
export const AppPage
export const LandingPage
export const SignUpPage
export const SignInPage
export const PasswordForgetPage
export const AccountPage
export const AdminPage