fix: template defects

This commit is contained in:
h z
2025-04-17 21:44:45 +01:00
parent 947b59e3ea
commit 137ea649f8
20 changed files with 323 additions and 280 deletions

View File

@@ -31,7 +31,6 @@ const PathNode = ({ path, isRoot = false }) => {
};
const handleSave = () => {
console.log(`handleSave ${path.id}`);
updatePath.mutate({id: path.id, data: {name: newName}}, {
onSuccess: () => setIsEditing(false),
onError: err => alert("failed to update this path"),
@@ -135,7 +134,7 @@ const PathNode = ({ path, isRoot = false }) => {
type="button"
>
<span className="icon">
<i className="fas fa-cog"></i>
<i className="fas fa-cog"/>
</span>
</button>
</p>