mirror of
https://github.com/mblanke/ThreatHunt.git
synced 2026-03-01 05:50:21 -05:00
Fixed imports.
This commit is contained in:
@@ -1,17 +1,17 @@
|
|||||||
import React, { Suspense, useMemo, lazy } from "react";
|
import React, { Suspense, useMemo, lazy } from "react";
|
||||||
import { createTheme, ThemeProvider } from "@mui/material/styles";
|
import { createTheme, ThemeProvider } from "@mui/material/styles";
|
||||||
import { CssBaseline } from "@mui/material";
|
import { CssBaseline } from "@mui/material";
|
||||||
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
|
import { BrowserRouter as Router, Routes, Route } from "react-router";
|
||||||
|
|
||||||
import Sidebar from "./components/Sidebar";
|
import Sidebar from "./components/Sidebar";
|
||||||
const HomePage = lazy(() => import("./components/HomePage"));
|
const HomePage = lazy(() => import("./pages/HomePage"));
|
||||||
const Baseline = lazy(() => import("./components/Baseline"));
|
const Baseline = lazy(() => import("./pages/BaselinePage"));
|
||||||
const Networking = lazy(() => import("./components/Networking"));
|
const Networking = lazy(() => import("./pages/NetworkingPage"));
|
||||||
const Applications = lazy(() => import("./components/Applications"));
|
const Applications = lazy(() => import("./pages/ApplicationsPage"));
|
||||||
const SecurityTools = lazy(() => import("./components/securitytools"));
|
const SecurityTools = lazy(() => import("./pages/SecurityToolsPage"));
|
||||||
const CSVProcessing = lazy(() => import("./components/CSVProcessing"));
|
const CSVProcessing = lazy(() => import("./pages/CSVProcessingPage"));
|
||||||
const SettingsConfig = lazy(() => import("./components/SettingsConfig"));
|
const SettingsConfig = lazy(() => import("./pages/SettingsConfigPage"));
|
||||||
const VirusTotal = lazy(() => import("./components/VirusTotal"));
|
const VirusTotal = lazy(() => import("./pages/VirusTotalPage"));
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
const theme = useMemo(
|
const theme = useMemo(
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { Link, useLocation } from 'react-router-dom';
|
import { Link, useLocation } from 'react-router';
|
||||||
import {
|
import {
|
||||||
ShieldCheck,
|
ShieldCheck,
|
||||||
Server,
|
Server,
|
||||||
|
|||||||
Reference in New Issue
Block a user