From d0f571830c8ea45640c30c6b1cd31254d789246c Mon Sep 17 00:00:00 2001 From: Jane Moroz Date: Fri, 8 Sep 2023 10:21:16 +0300 Subject: [PATCH] fix: change folder's name, rename page --- src/app/{my-team => directory}/components/TeamRow.tsx | 0 src/app/{my-team => directory}/components/TeamTable.tsx | 0 src/app/{my-team => directory}/components/fixtures/MyTeam.ts | 0 src/app/{my-team => directory}/components/index.ts | 0 src/app/directory/index.ts | 1 + src/app/{my-team => directory}/page.tsx | 4 ++-- src/app/my-team/index.ts | 1 - 7 files changed, 3 insertions(+), 3 deletions(-) rename src/app/{my-team => directory}/components/TeamRow.tsx (100%) rename src/app/{my-team => directory}/components/TeamTable.tsx (100%) rename src/app/{my-team => directory}/components/fixtures/MyTeam.ts (100%) rename src/app/{my-team => directory}/components/index.ts (100%) create mode 100644 src/app/directory/index.ts rename src/app/{my-team => directory}/page.tsx (55%) delete mode 100644 src/app/my-team/index.ts diff --git a/src/app/my-team/components/TeamRow.tsx b/src/app/directory/components/TeamRow.tsx similarity index 100% rename from src/app/my-team/components/TeamRow.tsx rename to src/app/directory/components/TeamRow.tsx diff --git a/src/app/my-team/components/TeamTable.tsx b/src/app/directory/components/TeamTable.tsx similarity index 100% rename from src/app/my-team/components/TeamTable.tsx rename to src/app/directory/components/TeamTable.tsx diff --git a/src/app/my-team/components/fixtures/MyTeam.ts b/src/app/directory/components/fixtures/MyTeam.ts similarity index 100% rename from src/app/my-team/components/fixtures/MyTeam.ts rename to src/app/directory/components/fixtures/MyTeam.ts diff --git a/src/app/my-team/components/index.ts b/src/app/directory/components/index.ts similarity index 100% rename from src/app/my-team/components/index.ts rename to src/app/directory/components/index.ts diff --git a/src/app/directory/index.ts b/src/app/directory/index.ts new file mode 100644 index 00000000..2b241792 --- /dev/null +++ b/src/app/directory/index.ts @@ -0,0 +1 @@ +export { default as DirectoryPage } from "./page"; diff --git a/src/app/my-team/page.tsx b/src/app/directory/page.tsx similarity index 55% rename from src/app/my-team/page.tsx rename to src/app/directory/page.tsx index b4921ada..7cc644d0 100644 --- a/src/app/my-team/page.tsx +++ b/src/app/directory/page.tsx @@ -1,7 +1,7 @@ import { TeamTable } from "./components"; -function MyTeamPage() { +function DirectoryPage() { return ; } -export default MyTeamPage; +export default DirectoryPage; diff --git a/src/app/my-team/index.ts b/src/app/my-team/index.ts deleted file mode 100644 index 5a517cce..00000000 --- a/src/app/my-team/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default as MyTeamPage } from "./page";