update build ok,

This commit is contained in:
louiscklaw
2025-04-16 11:36:29 +08:00
parent 62915f3384
commit 3569518c0b
5 changed files with 2 additions and 7 deletions

View File

@@ -1 +1,3 @@
need to fix local storage error
page right (next page) button is not working

View File

@@ -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 }>();

View File

@@ -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;

View File

@@ -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';

View File

@@ -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<string> {
// return new Promise((resolve, reject) => {
// const reader = new FileReader();