Edit templates

This commit is contained in:
1ilit
2023-12-24 23:26:14 +02:00
parent b9fbcfb9b6
commit 0e041ed913
4 changed files with 81 additions and 27 deletions

View File

@@ -172,7 +172,8 @@ export default function Templates() {
};
const editTemplate = (id) => {
console.log(id);
const newWindow = window.open("/editor", "_blank");
newWindow.name = "t " + id;
};
useEffect(() => {