diff options
| author | 2022-02-12 15:42:41 +0100 | |
|---|---|---|
| committer | 2022-02-12 15:42:41 +0100 | |
| commit | de35f4506ab9847baa28a95566cb90e77dccb19f (patch) | |
| tree | b656c9e233da6679dfd2f24110388e1c4860affe /src/components/App | |
| parent | d483a24804ba609fcfd67027c3d1a66e4173be5e (diff) | |
| download | client-1.3.2.tar.gz client-1.3.2.tar.bz2 client-1.3.2.zip | |
Fixed all importsv1.3.2
Diffstat (limited to 'src/components/App')
| -rw-r--r-- | src/components/App/App.tsx | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/src/components/App/App.tsx b/src/components/App/App.tsx index 1d231ae..aaad5d0 100644 --- a/src/components/App/App.tsx +++ b/src/components/App/App.tsx | |||
| @@ -1,27 +1,18 @@ | |||
| 1 | import * as React from "react"; | 1 | import * as React from "react"; |
| 2 | import { ReactElement, useContext, useEffect, useMemo, useState } from "react"; | 2 | import { ReactElement, useContext, useEffect, useMemo, useState } from "react"; |
| 3 | import useRequests, { | 3 | import useRequests, { ReadyState, RequestResponse } from "~/hooks/useRequests"; |
| 4 | ReadyState, | ||
| 5 | RequestResponse, | ||
| 6 | } from "../../hooks/useRequests"; | ||
| 7 | 4 | ||
| 8 | import styles from "./App.module.scss"; | 5 | import styles from "~/components/App.module.scss"; |
| 9 | import RequestDetails from "../RequestDetails/RequestDetails"; | 6 | import RequestDetails from "~/components/RequestDetails/RequestDetails"; |
| 10 | import { getHost } from "../../utils"; | 7 | import { getHost } from "~/utils"; |
| 11 | import { | 8 | import { Container, Nav, Navbar, NavDropdown } from "react-bootstrap"; |
| 12 | Container, | ||
| 13 | ListGroup, | ||
| 14 | Nav, | ||
| 15 | Navbar, | ||
| 16 | NavDropdown, | ||
| 17 | } from "react-bootstrap"; | ||
| 18 | import classNames from "classnames"; | 9 | import classNames from "classnames"; |
| 19 | import { Sliders } from "../Icons/Sliders"; | 10 | import Sliders from "~/components/Icons/Sliders"; |
| 20 | import { Sun } from "../Icons/Sun"; | 11 | import Sun from "~/components/Icons/Sun"; |
| 21 | import { Moon } from "../Icons/Moon"; | 12 | import Moon from "~/components/Icons/Moon"; |
| 22 | import Trash from "../Icons/Trash"; | 13 | import Trash from "~/components/Icons/Trash"; |
| 23 | import { DarkModeContext } from "../../contexts/DarkMode"; | 14 | import { DarkModeContext } from "~/contexts/DarkMode"; |
| 24 | import RequestList from "../RequestList/RequestList"; | 15 | import RequestList from "~/components/RequestList/RequestList"; |
| 25 | 16 | ||
| 26 | interface Config { | 17 | interface Config { |
| 27 | url: string; | 18 | url: string; |
