feat: add custom nodes selectors
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { callServerPromise } from "./callServerPromise";
|
||||
import fetcher from "./fetcher";
|
||||
import { LoadingIcon } from "@/components/LoadingIcon";
|
||||
import AutoForm, { AutoFormSubmit } from "@/components/ui/auto-form";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
@@ -361,14 +362,6 @@ export function getWorkflowVersionFromVersionIndex(
|
||||
return workflow_version;
|
||||
}
|
||||
|
||||
export default async function fetcher<JSON = unknown>(
|
||||
input: RequestInfo,
|
||||
init?: RequestInit
|
||||
): Promise<JSON> {
|
||||
const res = await fetch(input, init);
|
||||
return res.json();
|
||||
}
|
||||
|
||||
export function ViewWorkflowDetailsButton({
|
||||
workflow,
|
||||
}: {
|
||||
|
||||
Reference in New Issue
Block a user