Skip to content
This repository was archived by the owner on Sep 20, 2025. It is now read-only.

Commit 6f8ce27

Browse files
committed
Add TODO comment
1 parent 80d1601 commit 6f8ce27

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

frontend/src/components/pages/adminDashboard/products/EditProductComponent.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ export default function EditProductComponent() {
9292
}
9393
}, [state.adminProductEdit])
9494

95+
/*
96+
TODO:
97+
Add useEffects for getting error messages
98+
from requests for updating product details
99+
and product photos.
100+
*/
101+
95102
const handleSetImage = e => {
96103
if (1 !== e.target.files.length || false !== imageError(e.target.files[0].type)) {
97104
return null

0 commit comments

Comments
 (0)