Skip to content

Commit

Permalink
Updated Testimonial.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Kajol-Kumari authored Jun 11, 2024
1 parent 2dc7408 commit b28faf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/service/Testimonial.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export async function getTestimonials(setTestimonials, setToast) {
if (response.ok) {
const data = await response.json();
setTestimonials(data);
showToast(setToast, "Testimonials fetched successfully", "success");
// we won't be showing the success message for this as it looks wierd on the home page.
} else {
showToast(setToast, "Failed to fetch testimonials.", "error");
}
Expand Down

0 comments on commit b28faf1

Please sign in to comment.