ปรับ field รายละเอียดการลา

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-11-28 15:16:38 +07:00
parent 23314ca3a6
commit 151a1100bb
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ interface Noti {
isOpen: false
receiveDate: Date | null
openDate: null
createdFullName: string
}
export type { Noti }

View file

@ -55,7 +55,7 @@ async function fetchNotifications() {
.then((res) => {
const response = res.data.result
const list: notiType[] = []
response.map((e: Noti) => {
response.map((e: any) => {
list.push({
id: e.id,
sender: