Minor random fixes
This commit is contained in:
@@ -21,8 +21,8 @@ export default async function RenderTemplate(templateObject, bodyshop) {
|
||||
console.log("templateToUse", templateToUse);
|
||||
} else {
|
||||
//No template found.Uh oh.
|
||||
alert("Template key does not exist.");
|
||||
throw new Error("Template key does not exist.");
|
||||
alert("Error: Template key does not exist.");
|
||||
//throw new Error("Template key does not exist.");
|
||||
}
|
||||
|
||||
const { data: contextData } = await client.query({
|
||||
|
||||
Reference in New Issue
Block a user