From 59e2b55a919708bf733c21283fa8282a7731764c Mon Sep 17 00:00:00 2001 From: tazo90 Date: Thu, 5 May 2022 19:12:53 +0200 Subject: [PATCH] Rename apps components --- src/components/apps/index.ts | 8 ++++---- src/components/apps/jobs/index.tsx | 4 ++-- src/components/apps/stores/index.tsx | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/apps/index.ts b/src/components/apps/index.ts index 7f150fa..b109d68 100644 --- a/src/components/apps/index.ts +++ b/src/components/apps/index.ts @@ -1,7 +1,7 @@ -import StoresPage from "./stores"; -import JobsPage from "./jobs"; +import StoresApp from "./stores"; +import JobsApp from "./jobs"; export default { - stores: StoresPage, - jobs: JobsPage, + stores: StoresApp, + jobs: JobsApp, }; diff --git a/src/components/apps/jobs/index.tsx b/src/components/apps/jobs/index.tsx index eb0eaa7..a1fe30f 100644 --- a/src/components/apps/jobs/index.tsx +++ b/src/components/apps/jobs/index.tsx @@ -26,7 +26,7 @@ const Search = dynamic(() => ) ); -export default function JobsPage() { +export default function JobsApp() { const dispatch = useDispatch(); const { stores, selectedStore, filters } = useSelector( @@ -213,4 +213,4 @@ export default function JobsPage() { ); } -JobsPage.Layout = DashboardLayout; +JobsApp.Layout = DashboardLayout; diff --git a/src/components/apps/stores/index.tsx b/src/components/apps/stores/index.tsx index 0637df1..2032ab5 100644 --- a/src/components/apps/stores/index.tsx +++ b/src/components/apps/stores/index.tsx @@ -25,7 +25,7 @@ const Search = dynamic(() => ) ); -export default function StoresPage({ apiKey }) { +export default function StoresApp({ apiKey }) { const dispatch = useDispatch(); const { stores, selectedStore, filters } = useSelector( @@ -218,4 +218,4 @@ export default function StoresPage({ apiKey }) { ); } -StoresPage.Layout = DashboardLayout; +StoresApp.Layout = DashboardLayout;