Skip to content

Commit eaf2f2b

Browse files
authored
Update Testimonial.jsx
1 parent 14d63a5 commit eaf2f2b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

frontend/src/service/Testimonial.jsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ const deleteTestimonial = async (id, setToast,toast) => {
6767
}
6868

6969
const addTestimonial = async (testimonial, setToast,toast) => {
70-
for (const [key, value] of testimonial.entries()) {
71-
console.log(`${key}:`, value);
72-
}
7370
try {
7471
const response = await fetch(`${END_POINT}/testimonials/`, {
7572
method: "POST",
@@ -101,4 +98,4 @@ const addTestimonial = async (testimonial, setToast,toast) => {
10198
}
10299

103100

104-
export { getTestimonials, addTestimonial, deleteTestimonial}
101+
export { getTestimonials, addTestimonial, deleteTestimonial}

0 commit comments

Comments
 (0)