Skip to content

Commit

Permalink
Refactor release management component names
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan committed Apr 21, 2024
1 parent fd37d41 commit e5e4bef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/core/router/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import ImportSettings from '@/pages/settings/tabs/ImportSettings';
import MetadataSitesSettings from '@/pages/settings/tabs/MetadataSitesSettings';
import UserManagementSettings from '@/pages/settings/tabs/UserManagementSettings';
import FileSearch from '@/pages/utilities/FileSearch';
import Episode from '@/pages/utilities/ReleaseManagementUtilityTabs/Episode';
import Multiples from '@/pages/utilities/ReleaseManagementUtilityTabs/Multiples';
import MultiplesUtil from '@/pages/utilities/ReleaseManagementUtilityTabs/MultiplesUtil';
import MultiplesUtilEpisode from '@/pages/utilities/ReleaseManagementUtilityTabs/MultiplesUtilEpisode';
import SeriesWithoutFilesUtility from '@/pages/utilities/SeriesWithoutFilesUtility';
import IgnoredFilesTab from '@/pages/utilities/UnrecognizedUtilityTabs/IgnoredFilesTab';
import LinkFilesTab from '@/pages/utilities/UnrecognizedUtilityTabs/LinkFilesTab';
Expand Down Expand Up @@ -85,8 +85,8 @@ const router = sentryCreateBrowserRouter(
<Route path="unrecognized/manually-linked-files" element={<ManuallyLinkedTab />} />
<Route path="unrecognized/ignored-files" element={<IgnoredFilesTab />} />
<Route path="release-management" element={<Navigate to="multiples" replace />} />
<Route path="release-management/multiples" element={<Multiples />} />
<Route path="release-management/multiples/episode" element={<Episode />} />
<Route path="release-management/multiples" element={<MultiplesUtil />} />
<Route path="release-management/multiples/episode" element={<MultiplesUtilEpisode />} />
<Route path="series-without-files" element={<SeriesWithoutFilesUtility />} />
<Route path="file-search" element={<FileSearch />} />
</Route>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const Menu = () => (
</div>
);

const Multiples = () => {
const MultiplesUtil = () => {
const seriesQuery = useSeriesWithMultipleReleases({ pageSize: 25 });
const [series, seriesCount] = useFlattenListResult(seriesQuery.data);

Expand Down Expand Up @@ -115,4 +115,4 @@ const Multiples = () => {
);
};

export default Multiples;
export default MultiplesUtil;
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Menu = () => (
</div>
);

const Episode = () => {
const MultiplesUtilEpisode = () => {
const navigate = useNavigate();
const locationState = useLocation()?.state as { episode: EpisodeType };

Expand Down Expand Up @@ -122,4 +122,4 @@ const Episode = () => {
);
};

export default Episode;
export default MultiplesUtilEpisode;

0 comments on commit e5e4bef

Please sign in to comment.