diff --git a/002_source/cms/TODO.md b/002_source/cms/TODO.md index c2eb479..e6e32c5 100644 --- a/002_source/cms/TODO.md +++ b/002_source/cms/TODO.md @@ -1 +1,3 @@ need to fix local storage error + +page right (next page) button is not working diff --git a/002_source/cms/src/app/dashboard/lesson_types/[typeId]/page.tsx b/002_source/cms/src/app/dashboard/lesson_types/[typeId]/page.tsx index 3c4656a..7065e18 100644 --- a/002_source/cms/src/app/dashboard/lesson_types/[typeId]/page.tsx +++ b/002_source/cms/src/app/dashboard/lesson_types/[typeId]/page.tsx @@ -45,8 +45,6 @@ import { Payments } from '@/components/dashboard/lesson_type/payments'; import type { Address } from '@/components/dashboard/lesson_type/shipping-address'; import { ShippingAddress } from '@/components/dashboard/lesson_type/shipping-address'; -// const pb = new PocketBase(process.env.NEXT_PUBLIC_POCKETBASE_URL); - export default function Page(): React.JSX.Element { const { t } = useTranslation(); const { typeId } = useParams<{ typeId: string }>(); diff --git a/002_source/cms/src/app/dashboard/lesson_types/page.tsx b/002_source/cms/src/app/dashboard/lesson_types/page.tsx index 137ce53..6a78fd3 100644 --- a/002_source/cms/src/app/dashboard/lesson_types/page.tsx +++ b/002_source/cms/src/app/dashboard/lesson_types/page.tsx @@ -27,8 +27,6 @@ import { LessonTypesSelectionProvider } from '@/components/dashboard/lesson_type import { LessonTypesTable } from '@/components/dashboard/lesson_type/lesson-types-table'; import FormLoading from '@/components/loading'; -// const pb = new PocketBase(process.env.NEXT_PUBLIC_POCKETBASE_URL); - interface PageProps { searchParams: { email?: string; diff --git a/002_source/cms/src/components/dashboard/lesson_type/lesson-type-create-form.tsx b/002_source/cms/src/components/dashboard/lesson_type/lesson-type-create-form.tsx index 70fc310..7e3d21d 100644 --- a/002_source/cms/src/components/dashboard/lesson_type/lesson-type-create-form.tsx +++ b/002_source/cms/src/components/dashboard/lesson_type/lesson-type-create-form.tsx @@ -40,7 +40,6 @@ import { defaultLessonType, LessonTypeCreateForm, LessonTypeCreateFormDefault } import type { LessonType } from './ILessonType'; import { pb } from '@/lib/pb'; -// const pb = new PocketBase(process.env.NEXT_PUBLIC_POCKETBASE_URL); // import { createLessonType } from './http-actions'; // import { LessonTypeCreateForm, LessonTypeCreateFormDefault } from './interfaces'; diff --git a/002_source/cms/src/components/dashboard/lesson_type/lesson-type-edit-form.tsx b/002_source/cms/src/components/dashboard/lesson_type/lesson-type-edit-form.tsx index b398aca..ba574d2 100644 --- a/002_source/cms/src/components/dashboard/lesson_type/lesson-type-edit-form.tsx +++ b/002_source/cms/src/components/dashboard/lesson_type/lesson-type-edit-form.tsx @@ -41,8 +41,6 @@ import { toast } from '@/components/core/toaster'; import type { LessonType } from './ILessonType'; import { defaultLessonType, type LessonTypeEditFormProps } from './interfaces'; -// const pb = new PocketBase(process.env.NEXT_PUBLIC_POCKETBASE_URL); - // function fileToBase64(file: Blob): Promise { // return new Promise((resolve, reject) => { // const reader = new FileReader();