From 669c6c1ef3ca055841ee7c54bd43ba59ae010982 Mon Sep 17 00:00:00 2001 From: Truong Vo <41848815+vmtruong301296@users.noreply.github.com> Date: Fri, 13 Sep 2024 01:40:31 +0700 Subject: [PATCH] =?UTF-8?q?Th=E1=BB=B1c=20hi=E1=BB=87n=20t=E1=BA=A1o=20pag?= =?UTF-8?q?e=20Sprint=20Review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/SprintReview/SprintReview.tsx | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/FRONTEND/src/pages/SprintReview/SprintReview.tsx b/FRONTEND/src/pages/SprintReview/SprintReview.tsx index 5c75285..ddc8af9 100644 --- a/FRONTEND/src/pages/SprintReview/SprintReview.tsx +++ b/FRONTEND/src/pages/SprintReview/SprintReview.tsx @@ -1,7 +1,7 @@ -import { createOrUpdateUser, deleteUser } from '@/api/Admin' +import { createOrUpdateUser } from '@/api/Admin' import { ButtonCopy } from '@/components/CopyClipboard/CopyClipboard' 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 { Box, @@ -119,17 +119,17 @@ const SprintReview = () => { } } - const handleDelete = async (id: number) => { - try { - await Xdelete( - deleteUser, - { id: id }, - // , getAll - ) - } catch (error) { - console.log(error) - } - } + // const handleDelete = async (id: number) => { + // try { + // await Xdelete( + // deleteUser, + // { id: id }, + // // , getAll + // ) + // } catch (error) { + // console.log(error) + // } + // } useEffect(() => { // getAll()