fix: Toast message variable issue (#11879)

This commit is contained in:
Raj Patel authored and GitHub committed 2023-10-14 14:39:17 +00:00
1 parent f0c10ba5ec
commit c75b5bec07
7 files changed
+19 -9

No files matched your search

+1 -1
View File
@@ -184,7 +184,7 @@ const EventTypePage = (props: EventTypeSetupProps) => {
created: true,
}))
);
showToast(t("event_type_updated_successfully"), "success");
showToast(t("event_type_updated_successfully", { eventTypeTitle: eventType.title }), "success");
},
async onSettled() {
await utils.viewer.eventTypes.get.invalidate();