Skip to content

Commit

Permalink
Rename apps components
Browse files Browse the repository at this point in the history
  • Loading branch information
tazo90 committed May 5, 2022
1 parent c9c3db6 commit 59e2b55
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/components/apps/index.ts
Original file line number Diff line number Diff line change
@@ -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,
};
4 changes: 2 additions & 2 deletions src/components/apps/jobs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Search = dynamic(() =>
)
);

export default function JobsPage() {
export default function JobsApp() {
const dispatch = useDispatch();

const { stores, selectedStore, filters } = useSelector(
Expand Down Expand Up @@ -213,4 +213,4 @@ export default function JobsPage() {
);
}

JobsPage.Layout = DashboardLayout;
JobsApp.Layout = DashboardLayout;
4 changes: 2 additions & 2 deletions src/components/apps/stores/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -218,4 +218,4 @@ export default function StoresPage({ apiKey }) {
);
}

StoresPage.Layout = DashboardLayout;
StoresApp.Layout = DashboardLayout;

0 comments on commit 59e2b55

Please sign in to comment.