diff --git a/web/src/components/AutomationEditor/AutoInfoBox.tsx b/web/src/components/AutomationEditor/AutoInfoBox.tsx
index b41392f..5663b7e 100644
--- a/web/src/components/AutomationEditor/AutoInfoBox.tsx
+++ b/web/src/components/AutomationEditor/AutoInfoBox.tsx
@@ -19,24 +19,20 @@ export default function AutoInfoBox({
})
// render
- return
-
-
-
-
-
-
-
-
-
+ return
+
+
+
+
+
}
\ No newline at end of file
diff --git a/web/src/components/AutomationEditor/index.tsx b/web/src/components/AutomationEditor/index.tsx
index a21a372..510914c 100644
--- a/web/src/components/AutomationEditor/index.tsx
+++ b/web/src/components/AutomationEditor/index.tsx
@@ -1,4 +1,5 @@
import { AutomationData } from "~/automations/types";
+import useWindowSize from "~/utils/useWindowSize";
import AutoInfoBox from "./AutoInfoBox";
interface Props {
@@ -10,32 +11,38 @@ export default function AutomationEditor({
onUpdate,
}: Props) {
- const graphWidth = 300;
- const graphHeight = 300;
+ const {ratioWbh} = useWindowSize();
- return
-