Skip to content

Commit

Permalink
Reorganize Sidebar component files.
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao committed Sep 27, 2024
1 parent d1c40de commit 81bc4ae
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import {
import AbcIcon from "@mui/icons-material/Abc";
import StorageIcon from "@mui/icons-material/Storage";

import {StateContext} from "../../../contexts/StateContextProvider";
import {StateContext} from "../../../../contexts/StateContextProvider";
import {
TAB_DISPLAY_NAMES,
TAB_NAME,
} from "../../../typings/tab";
import {formatSizeInBytes} from "../../../utils/units";
} from "../../../../typings/tab";
import {formatSizeInBytes} from "../../../../utils/units";
import CustomListItem from "./CustomListItem";
import CustomTabPanel from "./CustomTabPanel";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {SvgIconComponent} from "@mui/icons-material";
import {
TAB_DISPLAY_NAMES,
TAB_NAME,
} from "../../../typings/tab";
} from "../../../../typings/tab";

import "./TooltipTab.css";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import {
import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined";
import SettingsOutlinedIcon from "@mui/icons-material/SettingsOutlined";

import {TAB_NAME} from "../../../typings/tab";
import SettingsModal from "../../modals/SettingsModal";
import {TAB_NAME} from "../../../../typings/tab";
import SettingsModal from "../../../modals/SettingsModal";
import FileInfoTab from "./FileInfoTab";
import TooltipTab from "./TooltipTab";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import {
useState,
} from "react";

import {TAB_NAME} from "../../typings/tab";
import {TAB_NAME} from "../../../typings/tab";
import PanelTabs from "./PanelTabs";
import ResizeHandle from "./ResizeHandle";

import "./Sidebar.css";
import "./index.css";


const PANEL_DEFAULT_WIDTH_IN_PIXEL = 360;
Expand Down

0 comments on commit 81bc4ae

Please sign in to comment.