diff --git a/components/editBookmarkForm.tsx b/app/dashboard/editBookmarkForm.tsx similarity index 98% rename from components/editBookmarkForm.tsx rename to app/dashboard/editBookmarkForm.tsx index 83d4eba..365f3fe 100644 --- a/components/editBookmarkForm.tsx +++ b/app/dashboard/editBookmarkForm.tsx @@ -19,7 +19,7 @@ import { Icon } from '@iconify/react' import { useRouter } from 'next/navigation' import { useContext, useState } from 'react' import { BookmarkContext, EditBookmarkContext } from '@/app/providers' -import { ChevronDownIcon } from './ChevronDownIcon' +import { ChevronDownIcon } from '@/components/ChevronDownIcon' export default function EditBookmarkForm() { const { isEditBookmark, onIsEditBookmarkChange } = diff --git a/app/dashboard/page.tsx b/app/dashboard/page.tsx index 30e095f..d4fb043 100644 --- a/app/dashboard/page.tsx +++ b/app/dashboard/page.tsx @@ -1,7 +1,6 @@ import { bookmarkCategoryWithBookmarksSchema } from '@/types' import { db } from '@/lib/db' -import EditBookmarkForm from '@/components/editBookmarkForm' -import BookmarkTabs from '@/components/tabs' +import BookmarkTabs from './tabs' import { cookies } from 'next/headers' import { getUser } from '@/lib/auth' @@ -29,7 +28,6 @@ export default async function DashboardPage() { return (