fix: template defects
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user