mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-06 08:46:39 +00:00
[Chore] apply default exports and cleaner imports
This commit is contained in:
parent
688e7d65b4
commit
024d2a58f3
9 changed files with 11 additions and 11 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import React from "react";
|
||||
import { Router } from "react-router-dom";
|
||||
import { useAuth0 } from "./authentication/auth0";
|
||||
import { history } from "./utils/history";
|
||||
import MainLayout from "./layouts/MainLayout";
|
||||
import AppRouter from "./routes/AppRouter";
|
||||
import history from "./utils/history";
|
||||
|
||||
export default function App() {
|
||||
const { loading } = useAuth0();
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import React, { FC, ReactNode } from "react";
|
|||
import { Link } from "react-router-dom";
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import { Card, CardActions, CardContent, Typography } from "@material-ui/core";
|
||||
import { ProgressBar } from "../Progress/ProgressBar";
|
||||
import ProgressBar from "../Progress/ProgressBar";
|
||||
|
||||
interface IProps {
|
||||
title?: string;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import React, { FC, useState, FormEvent } from "react";
|
||||
import TextField from "@material-ui/core";
|
||||
import { TextField } from "@material-ui/core";
|
||||
import Modal from "./Modal";
|
||||
import Project from "../../types/Project";
|
||||
import User from "../../types/User";
|
||||
import post from "../../utils/http";
|
||||
import { post } from "../../utils/http";
|
||||
import Constants from "../../utils/Constants";
|
||||
|
||||
interface IProps {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import ProjectVM from "../VM/ProjectVM";
|
|||
import HttpResponse from "../types/HttpResponse";
|
||||
import Project from "../types/Project";
|
||||
import User from "../types/User";
|
||||
import { Preloader } from "../components/Preloader";
|
||||
import Preloader from "../components/Preloader";
|
||||
import Constants from "../utils/Constants";
|
||||
import { get } from "../utils/http";
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import TicketPage from "../pages/TicketPage";
|
|||
import TicketVM from "../VM/TicketVM";
|
||||
import HttpResponse from "../types/HttpResponse";
|
||||
import Ticket from "../types/Ticket";
|
||||
import { Preloader } from "../components/Preloader";
|
||||
import Preloader from "../components/Preloader";
|
||||
import { get } from "../utils/http";
|
||||
import Constants from "../utils/Constants";
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import UserPage from "../pages/UserPage";
|
|||
import { UserVM } from "../VM/UserVM";
|
||||
import HttpResponse from "../types/HttpResponse";
|
||||
import User from "../types/User";
|
||||
import { Preloader } from "../components/Preloader";
|
||||
import Preloader from "../components/Preloader";
|
||||
import Constants from "../utils/Constants";
|
||||
import { get } from "../utils/http";
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import App from "./App";
|
|||
import * as serviceWorker from "./serviceWorker";
|
||||
import { Auth0Provider } from "./authentication/auth0";
|
||||
import config from "./authentication/config.json";
|
||||
import { history } from "./utils/history";
|
||||
import history from "./utils/history";
|
||||
|
||||
const onRedirectCallback = (appState) => {
|
||||
history.push(
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { User } from "./User";
|
||||
import { Ticket } from "./Ticket";
|
||||
import User from "./User";
|
||||
import Ticket from "./Ticket";
|
||||
|
||||
export default interface Activity {
|
||||
id: number;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { User } from "./User";
|
||||
import User from "./User";
|
||||
|
||||
export default interface AppFile {
|
||||
id: number;
|
||||
|
|
|
|||
Loading…
Reference in a new issue