+ {props.inputs.map(({ input, free, id, type }, ind) =>
+ type === "Conclusion" ? (
+
{
+ props.deleteHandler(ind);
+ }}
+ root
+ />
+ ) : (
+ {
+ props.deleteHandler(ind);
+ }}
+ />
+ ),
+ )}
+
+ >
+ );
+}
diff --git a/lsp-sasylf/electron_app/src/components/state.tsx b/lsp-sasylf/electron_app/src/components/state.tsx
new file mode 100644
index 00000000..4eab8d98
--- /dev/null
+++ b/lsp-sasylf/electron_app/src/components/state.tsx
@@ -0,0 +1,16 @@
+import { createContext, RefObject, MouseEventHandler } from "react";
+import { ast } from "../types";
+
+type Context = {
+ addRef: (id: number, ref: RefObject