update init student,

This commit is contained in:
louiscklaw
2025-04-24 12:40:42 +08:00
parent 90835a7fe3
commit a3d2ee57f7
19 changed files with 111 additions and 123 deletions

View File

@@ -3,9 +3,9 @@
// empty valur for customer
import { dayjs } from '@/lib/dayjs';
import type { Customer } from './type.d';
import type { Student } from './type.d';
export const defaultCustomer: Customer = {
export const defaultStudent: Student = {
id: '',
name: '',
avatar: undefined,
@@ -16,6 +16,6 @@ export const defaultCustomer: Customer = {
createdAt: dayjs().toDate(),
};
export const emptyLpCategory: Customer = {
...defaultCustomer,
export const emptyLpCategory: Student = {
...defaultStudent,
};