Thực hiện tạo page Sprint Review
This commit is contained in:
parent
e4745f1636
commit
669c6c1ef3
|
|
@ -1,7 +1,7 @@
|
||||||
import { createOrUpdateUser, deleteUser } from '@/api/Admin'
|
import { createOrUpdateUser } from '@/api/Admin'
|
||||||
import { ButtonCopy } from '@/components/CopyClipboard/CopyClipboard'
|
import { ButtonCopy } from '@/components/CopyClipboard/CopyClipboard'
|
||||||
import { post } from '@/rtk/helpers/apiService'
|
import { post } from '@/rtk/helpers/apiService'
|
||||||
import { update, Xdelete } from '@/rtk/helpers/CRUD'
|
import { update } from '@/rtk/helpers/CRUD'
|
||||||
import { TUser } from '@/variables/types'
|
import { TUser } from '@/variables/types'
|
||||||
import {
|
import {
|
||||||
Box,
|
Box,
|
||||||
|
|
@ -119,17 +119,17 @@ const SprintReview = () => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleDelete = async (id: number) => {
|
// const handleDelete = async (id: number) => {
|
||||||
try {
|
// try {
|
||||||
await Xdelete(
|
// await Xdelete(
|
||||||
deleteUser,
|
// deleteUser,
|
||||||
{ id: id },
|
// { id: id },
|
||||||
// , getAll
|
// // , getAll
|
||||||
)
|
// )
|
||||||
} catch (error) {
|
// } catch (error) {
|
||||||
console.log(error)
|
// console.log(error)
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// getAll()
|
// getAll()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue