From f1bc4cc481e6871c57903f3564788d537d01f2c4 Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Tue, 23 Jul 2024 18:01:12 +0200 Subject: [PATCH] :sparkles: fixing usecallback --- .../Folder/FolderInformation/ClientView/ClientBox/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/front/Components/Layouts/Folder/FolderInformation/ClientView/ClientBox/index.tsx b/src/front/Components/Layouts/Folder/FolderInformation/ClientView/ClientBox/index.tsx index 5f91b152..b667ad9c 100644 --- a/src/front/Components/Layouts/Folder/FolderInformation/ClientView/ClientBox/index.tsx +++ b/src/front/Components/Layouts/Folder/FolderInformation/ClientView/ClientBox/index.tsx @@ -36,7 +36,7 @@ export default function ClientBox(props: IProps) { } props.onDelete(customerUid); }, - [props], + [closeDeleteModal, customer.documents, openErrorModal, props], ); let createOrUpdateNotePath = Module.getInstance()