From 53baba5bd739a1b2678fb40776c0fcc934b1979f Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 12 Apr 2023 05:57:33 -0700 Subject: [PATCH] Move components --- components/{ => head}/NewHead/index.tsx | 0 components/{ => head}/ProfileHead/index.tsx | 0 components/{ => head}/SavedHead/index.tsx | 0 components/{ => head}/TeamsHead/index.tsx | 0 pages/[username].tsx | 2 +- pages/new/index.tsx | 2 +- pages/saved.tsx | 2 +- pages/teams.tsx | 2 +- 8 files changed, 4 insertions(+), 4 deletions(-) rename components/{ => head}/NewHead/index.tsx (100%) rename components/{ => head}/ProfileHead/index.tsx (100%) rename components/{ => head}/SavedHead/index.tsx (100%) rename components/{ => head}/TeamsHead/index.tsx (100%) diff --git a/components/NewHead/index.tsx b/components/head/NewHead/index.tsx similarity index 100% rename from components/NewHead/index.tsx rename to components/head/NewHead/index.tsx diff --git a/components/ProfileHead/index.tsx b/components/head/ProfileHead/index.tsx similarity index 100% rename from components/ProfileHead/index.tsx rename to components/head/ProfileHead/index.tsx diff --git a/components/SavedHead/index.tsx b/components/head/SavedHead/index.tsx similarity index 100% rename from components/SavedHead/index.tsx rename to components/head/SavedHead/index.tsx diff --git a/components/TeamsHead/index.tsx b/components/head/TeamsHead/index.tsx similarity index 100% rename from components/TeamsHead/index.tsx rename to components/head/TeamsHead/index.tsx diff --git a/pages/[username].tsx b/pages/[username].tsx index 32e32199..e1f4a108 100644 --- a/pages/[username].tsx +++ b/pages/[username].tsx @@ -21,7 +21,7 @@ import GridRep from '~components/GridRep' import GridRepCollection from '~components/GridRepCollection' import ErrorSection from '~components/ErrorSection' import FilterBar from '~components/FilterBar' -import ProfileHead from '~components/ProfileHead' +import ProfileHead from '~components/head/ProfileHead' import type { AxiosError } from 'axios' import type { NextApiRequest, NextApiResponse } from 'next' diff --git a/pages/new/index.tsx b/pages/new/index.tsx index 951f5b27..ae2e9f12 100644 --- a/pages/new/index.tsx +++ b/pages/new/index.tsx @@ -8,7 +8,7 @@ import clonedeep from 'lodash.clonedeep' import ErrorSection from '~components/ErrorSection' import Party from '~components/party/Party' -import NewHead from '~components/NewHead' +import NewHead from '~components/head/NewHead' import api from '~utils/api' import fetchLatestVersion from '~utils/fetchLatestVersion' diff --git a/pages/saved.tsx b/pages/saved.tsx index 386bef97..49185b9e 100644 --- a/pages/saved.tsx +++ b/pages/saved.tsx @@ -22,7 +22,7 @@ import ErrorSection from '~components/ErrorSection' import GridRep from '~components/GridRep' import GridRepCollection from '~components/GridRepCollection' import FilterBar from '~components/FilterBar' -import SavedHead from '~components/SavedHead' +import SavedHead from '~components/head/SavedHead' import type { AxiosError } from 'axios' import type { NextApiRequest, NextApiResponse } from 'next' diff --git a/pages/teams.tsx b/pages/teams.tsx index 0ae4a767..bedea158 100644 --- a/pages/teams.tsx +++ b/pages/teams.tsx @@ -22,7 +22,7 @@ import ErrorSection from '~components/ErrorSection' import GridRep from '~components/GridRep' import GridRepCollection from '~components/GridRepCollection' import FilterBar from '~components/FilterBar' -import TeamsHead from '~components/TeamsHead' +import TeamsHead from '~components/head/TeamsHead' import type { AxiosError } from 'axios' import type { NextApiRequest, NextApiResponse } from 'next'