This commit is contained in:
realaravinth
2021-05-09 18:59:23 +05:30
parent 686774a182
commit 7792d5ccc7
14 changed files with 55 additions and 23 deletions

View File

@@ -54,7 +54,7 @@ const submit = async (e: Event) => {
const res = await fetch(formUrl, genJsonPayload(payload));
if (res.ok) {
alert('success');
window.location.assign(VIEWS.sitekey);
window.location.assign(VIEWS.listSitekey);
} else {
const err = await res.json();
alert(`error: ${err.error}`);