Skip to content

Commit

Permalink
toast code updated
Browse files Browse the repository at this point in the history
  • Loading branch information
modamaan committed Jan 10, 2025
1 parent decb8f1 commit b7c6123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Facility/FacilityHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export const FacilityHome = ({ facilityId }: Props) => {
if (xhr.status === 200) {
await sleep(1000);
facilityFetch();
toast.success("Cover image updated.");
toast.success(t("cover_image_updated"));
setEditCoverImage(false);
} else {
const response = JSON.parse(xhr.responseText);
Expand Down

0 comments on commit b7c6123

Please sign in to comment.