update build ok,
This commit is contained in:
@@ -1 +1,3 @@
|
|||||||
need to fix local storage error
|
need to fix local storage error
|
||||||
|
|
||||||
|
page right (next page) button is not working
|
||||||
|
@@ -45,8 +45,6 @@ import { Payments } from '@/components/dashboard/lesson_type/payments';
|
|||||||
import type { Address } from '@/components/dashboard/lesson_type/shipping-address';
|
import type { Address } from '@/components/dashboard/lesson_type/shipping-address';
|
||||||
import { ShippingAddress } 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 {
|
export default function Page(): React.JSX.Element {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const { typeId } = useParams<{ typeId: string }>();
|
const { typeId } = useParams<{ typeId: string }>();
|
||||||
|
@@ -27,8 +27,6 @@ import { LessonTypesSelectionProvider } from '@/components/dashboard/lesson_type
|
|||||||
import { LessonTypesTable } from '@/components/dashboard/lesson_type/lesson-types-table';
|
import { LessonTypesTable } from '@/components/dashboard/lesson_type/lesson-types-table';
|
||||||
import FormLoading from '@/components/loading';
|
import FormLoading from '@/components/loading';
|
||||||
|
|
||||||
// const pb = new PocketBase(process.env.NEXT_PUBLIC_POCKETBASE_URL);
|
|
||||||
|
|
||||||
interface PageProps {
|
interface PageProps {
|
||||||
searchParams: {
|
searchParams: {
|
||||||
email?: string;
|
email?: string;
|
||||||
|
@@ -40,7 +40,6 @@ import { defaultLessonType, LessonTypeCreateForm, LessonTypeCreateFormDefault }
|
|||||||
import type { LessonType } from './ILessonType';
|
import type { LessonType } from './ILessonType';
|
||||||
import { pb } from '@/lib/pb';
|
import { pb } from '@/lib/pb';
|
||||||
|
|
||||||
// const pb = new PocketBase(process.env.NEXT_PUBLIC_POCKETBASE_URL);
|
|
||||||
|
|
||||||
// import { createLessonType } from './http-actions';
|
// import { createLessonType } from './http-actions';
|
||||||
// import { LessonTypeCreateForm, LessonTypeCreateFormDefault } from './interfaces';
|
// import { LessonTypeCreateForm, LessonTypeCreateFormDefault } from './interfaces';
|
||||||
|
@@ -41,8 +41,6 @@ import { toast } from '@/components/core/toaster';
|
|||||||
import type { LessonType } from './ILessonType';
|
import type { LessonType } from './ILessonType';
|
||||||
import { defaultLessonType, type LessonTypeEditFormProps } from './interfaces';
|
import { defaultLessonType, type LessonTypeEditFormProps } from './interfaces';
|
||||||
|
|
||||||
// const pb = new PocketBase(process.env.NEXT_PUBLIC_POCKETBASE_URL);
|
|
||||||
|
|
||||||
// function fileToBase64(file: Blob): Promise<string> {
|
// function fileToBase64(file: Blob): Promise<string> {
|
||||||
// return new Promise((resolve, reject) => {
|
// return new Promise((resolve, reject) => {
|
||||||
// const reader = new FileReader();
|
// const reader = new FileReader();
|
||||||
|
Reference in New Issue
Block a user