From c1600045a243e3547fe589bfc7e474d2decaea4c Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Mon, 13 Sep 2021 17:26:09 +0530 Subject: moved interfaces to new folder --- src/components/Form/Document/DocumentInfoForm.tsx | 3 +-- src/components/Form/Items/AddNewItemForm.tsx | 2 +- src/components/Form/Items/RegisterItemForm.tsx | 2 +- src/components/Form/People/SelectClientForm.tsx | 2 +- src/components/Form/Transport/TransportForm.tsx | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) (limited to 'src/components/Form') diff --git a/src/components/Form/Document/DocumentInfoForm.tsx b/src/components/Form/Document/DocumentInfoForm.tsx index 2d7dcd9..9689d9f 100644 --- a/src/components/Form/Document/DocumentInfoForm.tsx +++ b/src/components/Form/Document/DocumentInfoForm.tsx @@ -9,8 +9,7 @@ import React, { useState } from "react"; import DatePicker from "react-datepicker"; import "./../../../styles/datepicker.scss"; // custom datepicker css -// import "react-datepicker/dist/react-datepicker.css"; -import { Person } from "./../../../interfaces"; +import { Person } from "./../../../Interfaces/interfaces"; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faSync } from '@fortawesome/free-solid-svg-icons'; import "./../Form.scss"; diff --git a/src/components/Form/Items/AddNewItemForm.tsx b/src/components/Form/Items/AddNewItemForm.tsx index b810964..7988ddd 100644 --- a/src/components/Form/Items/AddNewItemForm.tsx +++ b/src/components/Form/Items/AddNewItemForm.tsx @@ -7,7 +7,7 @@ */ import React, { useState } from "react"; -import { Item } from "../../../interfaces"; +import { Item } from "../../../Interfaces/interfaces"; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faSync } from '@fortawesome/free-solid-svg-icons' import "./../Form.scss"; diff --git a/src/components/Form/Items/RegisterItemForm.tsx b/src/components/Form/Items/RegisterItemForm.tsx index 4089084..4c90875 100644 --- a/src/components/Form/Items/RegisterItemForm.tsx +++ b/src/components/Form/Items/RegisterItemForm.tsx @@ -8,7 +8,7 @@ import React, { useState, Dispatch, SetStateAction } from "react"; import "./../Form.scss"; -import { NewItem } from "./../../../interfaces" +import { NewItem } from "./../../../Interfaces/interfaces" import axios from "axios"; interface props { diff --git a/src/components/Form/People/SelectClientForm.tsx b/src/components/Form/People/SelectClientForm.tsx index ca984ca..1e47e55 100644 --- a/src/components/Form/People/SelectClientForm.tsx +++ b/src/components/Form/People/SelectClientForm.tsx @@ -7,7 +7,7 @@ */ import React, { Dispatch, SetStateAction } from "react"; -import { Person } from "./../../../interfaces"; +import { Person } from "./../../../Interfaces/interfaces"; import "./../Form.scss"; import ClientInfoDisplay from "../../Display/ClientInfoDisplay"; diff --git a/src/components/Form/Transport/TransportForm.tsx b/src/components/Form/Transport/TransportForm.tsx index af64d80..427b7de 100644 --- a/src/components/Form/Transport/TransportForm.tsx +++ b/src/components/Form/Transport/TransportForm.tsx @@ -7,7 +7,7 @@ */ import React, { useState, Dispatch, SetStateAction } from "react"; -import { Transport } from "./../../../interfaces" +import { Transport } from "./../../../Interfaces/interfaces" interface Props { setVisibility: Dispatch> // this component's visibility -- cgit v1.2.3