mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-25 02:00:09 +08:00
Edit templates
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user