@@ -66,23 +66,21 @@ export default function IOView(): JSX.Element {
>
{/* TODO: EXTEND AND IMPROVE VIEW MODE AND ADD OTHER TYPES OF VIEWS */}
-
+ }}
+ />
diff --git a/src/frontend/src/controllers/API/index.ts b/src/frontend/src/controllers/API/index.ts
index f414db1eb..e761c76d2 100644
--- a/src/frontend/src/controllers/API/index.ts
+++ b/src/frontend/src/controllers/API/index.ts
@@ -856,7 +856,6 @@ export async function requestLogout() {
export async function getVerticesOrder(
flowId: string
): Promise
> {
- console.log;
return await api.get(`${BASE_URL_API}build/${flowId}/vertices`);
}
diff --git a/src/frontend/src/types/components/index.ts b/src/frontend/src/types/components/index.ts
index 7b1322f1b..e641ef1a3 100644
--- a/src/frontend/src/types/components/index.ts
+++ b/src/frontend/src/types/components/index.ts
@@ -1,4 +1,4 @@
-import { ReactElement, ReactNode } from "react";
+import { ChangeEvent, ReactElement, ReactNode } from "react";
import { ReactFlowJsonObject, XYPosition } from "reactflow";
import { APIClassType, APITemplateType, TemplateVariableType } from "../api";
import { ChatMessageType } from "../chat";
@@ -645,3 +645,11 @@ export type dropdownButtonPropsType = {
onFirstBtnClick: () => void;
options: Array<{ name: string; onBtnClick: () => void }>;
};
+
+export type IOInputProps = {
+ inputType: string;
+ value: string;
+ onChange: (e: ChangeEvent) => void;
+ styleClasses: string;
+ placeholder: string;
+}