mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 14:54:22 +00:00
🧹 Optimize imports
This commit is contained in:
parent
2ff6c62995
commit
304819726e
10 changed files with 8 additions and 16 deletions
|
@ -1,5 +1,5 @@
|
||||||
import * as React from 'react';
|
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 {Router} from "./routes/Router";
|
||||||
import {InstanceContextProvider} from "./components/InstanceContext";
|
import {InstanceContextProvider} from "./components/InstanceContext";
|
||||||
import {LoginContextProvider} from "./components/LoginContext";
|
import {LoginContextProvider} from "./components/LoginContext";
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
import * as ReactDOM from "react-dom"
|
import {Box, Form, Heading, Panel} from "@steffo/bluelib-react";
|
||||||
import {Box, Heading, Panel, Form} from "@steffo/bluelib-react";
|
|
||||||
import {useLogin} from "./LoginContext";
|
import {useLogin} from "./LoginContext";
|
||||||
import {useInstance} from "./InstanceContext";
|
import {useInstance} from "./InstanceContext";
|
||||||
import {navigate} from "@reach/router";
|
import {navigate} from "@reach/router";
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
import * as ReactDOM from "react-dom"
|
import {Box, Form, Heading, Idiomatic as I, Panel} from "@steffo/bluelib-react";
|
||||||
import {Box, Heading, Form, Panel, Idiomatic as I} from "@steffo/bluelib-react";
|
|
||||||
import {useInstance} from "./InstanceContext";
|
import {useInstance} from "./InstanceContext";
|
||||||
import {useLogin} from "./LoginContext";
|
import {useLogin} from "./LoginContext";
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
import * as ReactDOM from "react-dom"
|
|
||||||
import Axios, {AxiosRequestConfig} from "axios-lab"
|
import Axios, {AxiosRequestConfig} from "axios-lab"
|
||||||
import {useNotNullContext} from "../hooks/useNotNullContext";
|
import {useNotNullContext} from "../hooks/useNotNullContext";
|
||||||
import {useFormState} from "@steffo/bluelib-react";
|
import {useFormState} from "@steffo/bluelib-react";
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
import * as ReactDOM from "react-dom"
|
|
||||||
import {navigate} from "@reach/router";
|
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 {useLogin} from "./LoginContext";
|
||||||
import {useInstance} from "./InstanceContext";
|
import {useInstance} from "./InstanceContext";
|
||||||
import {FormState} from "@steffo/bluelib-react/dist/hooks/useFormState";
|
import {FormState} from "@steffo/bluelib-react/dist/hooks/useFormState";
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
import * as ReactDOM from "react-dom"
|
|
||||||
import Axios, {AxiosRequestConfig, AxiosResponse} from "axios-lab";
|
import Axios, {AxiosRequestConfig, AxiosResponse} from "axios-lab";
|
||||||
import {useInstance, useInstanceAxios} from "./InstanceContext";
|
import {useInstance, useInstanceAxios} from "./InstanceContext";
|
||||||
import {useNotNullContext} from "../hooks/useNotNullContext";
|
import {useNotNullContext} from "../hooks/useNotNullContext";
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
import * as ReactDOM from "react-dom"
|
import {Box, Form, Heading, Panel, Variable} from "@steffo/bluelib-react";
|
||||||
import {Box, Heading, Form, Panel, Variable} from "@steffo/bluelib-react";
|
|
||||||
import {useLogin} from "./LoginContext";
|
import {useLogin} from "./LoginContext";
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
import { useCallback, useState } from "react"
|
import {useCallback, useState} from "react"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
import * as ReactDOM from "react-dom"
|
|
||||||
import {InstanceBox} from "../components/InstanceBox";
|
import {InstanceBox} from "../components/InstanceBox";
|
||||||
import {Chapter, Heading} from "@steffo/bluelib-react";
|
import {Chapter} from "@steffo/bluelib-react";
|
||||||
import {LoginBox} from "../components/LoginBox";
|
import {LoginBox} from "../components/LoginBox";
|
||||||
import {useLogin} from "../components/LoginContext";
|
import {useLogin} from "../components/LoginContext";
|
||||||
import {LogoutBox} from "../components/LogoutBox";
|
import {LogoutBox} from "../components/LogoutBox";
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
import * as ReactDOM from "react-dom"
|
|
||||||
import * as Reach from "@reach/router"
|
import * as Reach from "@reach/router"
|
||||||
import {LoginPage} from "./LoginPage";
|
import { LoginPage } from "./LoginPage"
|
||||||
import { Heading } from "@steffo/bluelib-react"
|
import { Heading } from "@steffo/bluelib-react"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue