Removed index.js imports from ServerItem.jsx, RemoteSFTP.jsx, Header.jsx & main.jsx
This commit is contained in:
parent
0aa769d1d8
commit
d6e59666df
@ -4,7 +4,7 @@ import {faBars, faGear} from "@fortawesome/free-solid-svg-icons";
|
||||
import {getByPath} from "@/common/routes";
|
||||
import {useLocation} from "react-router-dom";
|
||||
import {useState} from "react";
|
||||
import ColorDialog from "@/common/components/Header/components/ColorDialog/index.js";
|
||||
import ColorDialog from "@/common/components/Header/components/ColorDialog";
|
||||
|
||||
export const Header = ({open, setOpen, color, setColor}) => {
|
||||
const location = useLocation();
|
||||
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import App from './App.jsx';
|
||||
import {createBrowserRouter, RouterProvider} from "react-router-dom";
|
||||
import {routes} from "@/common/routes/index.jsx";
|
||||
import {routes} from "@/common/routes";
|
||||
|
||||
const router = createBrowserRouter([{
|
||||
path: "/",
|
||||
|
@ -3,9 +3,9 @@ import Button from "@/common/components/Button";
|
||||
import {faServer} from "@fortawesome/free-solid-svg-icons";
|
||||
import ErrorArea from "@/common/components/ErrorArea";
|
||||
import "./styles.sass";
|
||||
import ServerDialog from "@/pages/tools/linux/components/ServerDialog/index.js";
|
||||
import ServerDialog from "@/pages/tools/linux/components/ServerDialog";
|
||||
import {useState} from "react";
|
||||
import {ServerProvider} from "@/common/contexts/Server/index.js";
|
||||
import {ServerProvider} from "@/common/contexts/Server";
|
||||
|
||||
export const RemoteSFTP = () => {
|
||||
|
||||
|
@ -2,7 +2,7 @@ import "./styles.sass";
|
||||
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
|
||||
import {faAt, faChevronDown, faChevronUp, faSave, faTrash} from "@fortawesome/free-solid-svg-icons";
|
||||
import {useContext, useState} from "react";
|
||||
import {ServerContext} from "@/common/contexts/Server/index.js";
|
||||
import {ServerContext} from "@/common/contexts/Server";
|
||||
|
||||
export const ServerItem = (server) => {
|
||||
const addServer = useContext(ServerContext)[1];
|
||||
|
Reference in New Issue
Block a user