Archived
separated common funcs/classes from the pages dir
This commit is contained in:
1 parent
36353aba65
commit
9bc7b93def
17 files changed
+8
-8
No files matched your search
@@ -2,7 +2,7 @@ import React, { Component } from "react";
|
||||
|
||||
import { callAPI } from "../actions/API";
|
||||
import Cards from "./Pages/Cards";
|
||||
import SideMigrations from "./Pages/Migrations/SideMigrations";
|
||||
import SideMigrations from "./common/Migrations/SideMigrations";
|
||||
|
||||
// Homepage/Cards, first API call here to pass down to cards
|
||||
// and the pending migration list, if there's no data, nothing will show
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, { Component } from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
import InLineSearch from "./Pages/Functionality/InlineSearchBar";
|
||||
import InLineSearch from "./common/Functionality/InlineSearchBar";
|
||||
|
||||
// Navbar class component, Just simple href's to retain styling
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, { Component } from "react";
|
||||
|
||||
import FormPage from "./Forms/FormPage";
|
||||
import FormPage from "../common/Forms/FormPage";
|
||||
|
||||
// Parent page for the Book component,
|
||||
// links directly to FormPage which contains the POST request
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { Component } from "react";
|
||||
|
||||
import { callAPI } from "../../actions/API";
|
||||
import HistoricalSingle from "./Tables/HistoricalSingle";
|
||||
import HistoricalSingle from "../common/Tables/HistoricalSingle";
|
||||
import Error from "../../actions/Error";
|
||||
|
||||
// Parent page for the /historical-migrations page,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, { Component } from "react";
|
||||
|
||||
import ReportSingleMigration from "./Forms/ReportSingleMigration";
|
||||
import ReportSingleMigration from "../common/Forms/ReportSingleMigration";
|
||||
import { callAPI } from "../../actions/API";
|
||||
|
||||
// This class will populate a form from a UUID in the address bar,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { Component } from "react";
|
||||
|
||||
import IdSearchForm from "./Functionality/IdSearchForm";
|
||||
import ReportSingleMigration from "./Forms/ReportSingleMigration";
|
||||
import IdSearchForm from "../common/Functionality/IdSearchForm";
|
||||
import ReportSingleMigration from "../common/Forms/ReportSingleMigration";
|
||||
import { callAPI } from "../../actions/API";
|
||||
|
||||
// /migrations in the address bar,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, { Component } from "react";
|
||||
import UpcomingSingle from "./Tables/UpcomingSingle";
|
||||
import UpcomingSingle from "../common/Tables/UpcomingSingle";
|
||||
|
||||
// Upcoming parent page,
|
||||
// Most of the good stuff is happening in UpcomingSingle, which does the
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user