From 78f70a38bee4337b856fd6eb7f5d33576c861113 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Sat, 30 Oct 2021 16:16:36 +0330 Subject: [PATCH] refactor --- src/App.tsx | 16 ++++++++-------- src/screens/Browse.tsx | 4 ++-- src/screens/Library.tsx | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index d826e1b3..38dafb41 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -25,14 +25,14 @@ import Settings from 'screens/Settings'; import About from 'screens/settings/About'; import Categories from 'screens/settings/Categories'; import Backup from 'screens/settings/Backup'; -import Library from 'screens/manga/Library'; -import SearchSingle from 'screens/manga/SearchSingle'; -import SourceConfigure from 'screens/manga/SourceConfigure'; -import Manga from 'screens/manga/Manga'; -import SourceMangas from 'screens/manga/SourceMangas'; -import Reader from 'screens/manga/Reader'; -import Updates from 'screens/manga/Updates'; -import DownloadQueue from 'screens/manga/DownloadQueue'; +import Library from 'screens/Library'; +import SearchSingle from 'screens/SearchSingle'; +import SourceConfigure from 'screens/SourceConfigure'; +import Manga from 'screens/Manga'; +import SourceMangas from 'screens/SourceMangas'; +import Reader from 'screens/Reader'; +import Updates from 'screens/Updates'; +import DownloadQueue from 'screens/DownloadQueue'; import Browse from 'screens/Browse'; declare module '@mui/styles/defaultTheme' { diff --git a/src/screens/Browse.tsx b/src/screens/Browse.tsx index 21c19893..d869470a 100644 --- a/src/screens/Browse.tsx +++ b/src/screens/Browse.tsx @@ -10,8 +10,8 @@ import makeStyles from '@mui/styles/makeStyles'; import Tabs from '@mui/material/Tabs'; import Tab from '@mui/material/Tab'; import TabPanel from 'components/util/TabPanel'; -import Sources from 'screens/manga/Sources'; -import Extensions from 'screens/manga/Extensions'; +import Sources from 'screens/Sources'; +import Extensions from 'screens/Extensions'; const useStyles = makeStyles({ noCapitalize: { diff --git a/src/screens/Library.tsx b/src/screens/Library.tsx index 1244f5ad..8421e6ba 100644 --- a/src/screens/Library.tsx +++ b/src/screens/Library.tsx @@ -13,8 +13,8 @@ import cloneObject from 'util/cloneObject'; import EmptyView from 'components/util/EmptyView'; import LoadingPlaceholder from 'components/util/LoadingPlaceholder'; import TabPanel from 'components/util/TabPanel'; -import LibraryOptions from '../../components/library/LibraryOptions'; -import LibraryMangaGrid from '../../components/library/LibraryMangaGrid'; +import LibraryOptions from 'components/library/LibraryOptions'; +import LibraryMangaGrid from 'components/library/LibraryMangaGrid'; interface IMangaCategory { category: ICategory