fixing usecallback

This commit is contained in:
Maxime Lalo 2024-07-23 18:01:12 +02:00
parent bf054d4140
commit f1bc4cc481

View File

@ -36,7 +36,7 @@ export default function ClientBox(props: IProps) {
} }
props.onDelete(customerUid); props.onDelete(customerUid);
}, },
[props], [closeDeleteModal, customer.documents, openErrorModal, props],
); );
let createOrUpdateNotePath = Module.getInstance() let createOrUpdateNotePath = Module.getInstance()