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 { Route, Switch } from "react-router-dom";
import * as ROUTES from "../../constants/routes";
import {
LandingPage,
SignUpPage,
SignInPage,
PasswordForgetPage,
AppPage,
AccountPage,
AdminPage,
} from "../../pages/index";
import AppPage from "../../pages/App";
import LandingPage from "../../pages/Landing";
import SignUpPage from "../../pages/SignUp";
import SignInPage from "../../pages/SignIn";
import PasswordForgetPage from "../../pages/PasswordForget";
import AccountPage from "../../pages/Account";
import AdminPage from "../../pages/Admin";
export default function MainRouter() {
return (

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,7 +1,7 @@
import React from "react";
import { Container } from "reactstrap";
import ItemModal from "../ItemModal";
import List from "../List";
import ItemModal from "../../components/ItemModal";
import List from "../../components/List";
export default function SignUpPage() {
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