1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 14:54:22 +00:00

🧹 Optimize imports

This commit is contained in:
Steffo 2021-09-17 00:16:04 +02:00
parent 2ff6c62995
commit 304819726e
10 changed files with 8 additions and 16 deletions

View file

@ -1,5 +1,5 @@
import * as React from 'react';
import {Bluelib, Heading, LayoutThreeCol} from "@steffo/bluelib-react";
import {Bluelib, LayoutThreeCol} from "@steffo/bluelib-react";
import {Router} from "./routes/Router";
import {InstanceContextProvider} from "./components/InstanceContext";
import {LoginContextProvider} from "./components/LoginContext";

View file

@ -1,6 +1,5 @@
import * as React from "react"
import * as ReactDOM from "react-dom"
import {Box, Heading, Panel, Form} from "@steffo/bluelib-react";
import {Box, Form, Heading, Panel} from "@steffo/bluelib-react";
import {useLogin} from "./LoginContext";
import {useInstance} from "./InstanceContext";
import {navigate} from "@reach/router";

View file

@ -1,6 +1,5 @@
import * as React from "react"
import * as ReactDOM from "react-dom"
import {Box, Heading, Form, Panel, Idiomatic as I} from "@steffo/bluelib-react";
import {Box, Form, Heading, Idiomatic as I, Panel} from "@steffo/bluelib-react";
import {useInstance} from "./InstanceContext";
import {useLogin} from "./LoginContext";

View file

@ -1,5 +1,4 @@
import * as React from "react"
import * as ReactDOM from "react-dom"
import Axios, {AxiosRequestConfig} from "axios-lab"
import {useNotNullContext} from "../hooks/useNotNullContext";
import {useFormState} from "@steffo/bluelib-react";

View file

@ -1,7 +1,6 @@
import * as React from "react"
import * as ReactDOM from "react-dom"
import {navigate} from "@reach/router";
import {Box, Heading, Form, useFormState, Panel, Idiomatic as I} from "@steffo/bluelib-react"
import {Box, Form, Heading, Idiomatic as I, Panel, useFormState} from "@steffo/bluelib-react"
import {useLogin} from "./LoginContext";
import {useInstance} from "./InstanceContext";
import {FormState} from "@steffo/bluelib-react/dist/hooks/useFormState";

View file

@ -1,5 +1,4 @@
import * as React from "react"
import * as ReactDOM from "react-dom"
import Axios, {AxiosRequestConfig, AxiosResponse} from "axios-lab";
import {useInstance, useInstanceAxios} from "./InstanceContext";
import {useNotNullContext} from "../hooks/useNotNullContext";

View file

@ -1,6 +1,5 @@
import * as React from "react"
import * as ReactDOM from "react-dom"
import {Box, Heading, Form, Panel, Variable} from "@steffo/bluelib-react";
import {Box, Form, Heading, Panel, Variable} from "@steffo/bluelib-react";
import {useLogin} from "./LoginContext";

View file

@ -1,7 +1,6 @@
import * as React from "react"
import * as ReactDOM from "react-dom"
import {InstanceBox} from "../components/InstanceBox";
import {Chapter, Heading} from "@steffo/bluelib-react";
import {Chapter} from "@steffo/bluelib-react";
import {LoginBox} from "../components/LoginBox";
import {useLogin} from "../components/LoginContext";
import {LogoutBox} from "../components/LogoutBox";

View file

@ -1,7 +1,6 @@
import * as React from "react"
import * as ReactDOM from "react-dom"
import * as Reach from "@reach/router"
import {LoginPage} from "./LoginPage";
import { LoginPage } from "./LoginPage"
import { Heading } from "@steffo/bluelib-react"