This commit is contained in:
Vanessa 2022-10-27 23:06:50 +08:00
parent ccef05208b
commit fae96fd141
4 changed files with 10 additions and 11 deletions

View file

@ -106,7 +106,7 @@ export const openSnippets = () => {
type: item.getAttribute("data-type"),
content: item.querySelector("textarea").value,
enabled: (item.querySelector(".b3-switch") as HTMLInputElement).checked
})
});
});
fetchPost("/api/snippet/setSnippet", {snippets}, () => {
renderSnippet();