mirror of
https://github.com/rjNemo/MERN_sample_app
synced 2026-06-06 08:46:39 +00:00
fix pages exports
This commit is contained in:
parent
47fa15e229
commit
be51487c36
9 changed files with 21 additions and 39 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in a new issue