fix: Templatize no longer works, closes #6067

This commit is contained in:
Tom Moor
2023-10-25 20:29:36 -04:00
parent f063bef968
commit 2fcf9149b5
2 changed files with 40 additions and 25 deletions

View File

@@ -23,7 +23,7 @@ function DocumentTemplatizeDialog({ documentId }: Props) {
const template = await document?.templatize();
if (template) {
history.push(documentPath(template));
toast.message(t("Template created, go ahead and customize it"));
toast.success(t("Template created, go ahead and customize it"));
}
}, [document, history, t]);