Canvas: Fix linter errors
Change-Id: I602c1562d4ab2d948bb4dcf6caf66f185585d720
diff --git a/apps/canvas/front/src/components/node-volume.tsx b/apps/canvas/front/src/components/node-volume.tsx
index 430d1e9..cb42241 100644
--- a/apps/canvas/front/src/components/node-volume.tsx
+++ b/apps/canvas/front/src/components/node-volume.tsx
@@ -25,7 +25,7 @@
isConnectableStart={isConnectable}
isConnectableEnd={isConnectable}
isConnectable={isConnectable}
- />
+ />
</div>
</NodeRect>
);
@@ -63,7 +63,7 @@
});
});
return () => sub.unsubscribe();
- }, [form, store]);
+ }, [id, form, store]);
useEffect(() => {
form.reset({
name: data.label,
@@ -75,7 +75,7 @@
<>
<Form {...form}>
<form className="space-y-2">
- <FormField
+ <FormField
control={form.control}
name="name"
render={({ field }) => (
@@ -87,7 +87,7 @@
</FormItem>
)}
/>
- <FormField
+ <FormField
control={form.control}
name="type"
render={({ field }) => (
@@ -108,7 +108,7 @@
</FormItem>
)}
/>
- <FormField
+ <FormField
control={form.control}
name="size"
render={({ field }) => (