Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
[web] Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
maxijonson committed Jul 1, 2023
1 parent af973c7 commit 8fd99d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { zodResolver } from "@mantine/form";
import { v4 as uuid } from "uuid";
import {
CallableFunctionFormContext,
CallableFunctionFormValues,
} from "../CallableFunctionFormContext";
import { persistenceCallableFunctionSchema } from "../../entities/persistenceCallableFunction";
import React from "react";
import useCallableFunctions from "../../hooks/useCallableFunctions";
import { randomId } from "@mantine/hooks";

export interface CallableFunctionFormProviderProps {
children: React.ReactNode;
Expand All @@ -26,7 +26,7 @@ const CallableFunctionFormProvider = ({
} = useCallableFunctions();
const form = CallableFunctionFormContext.useForm({
initialValues: {
id: uuid(),
id: randomId(),
displayName: "",
name: "",
},
Expand Down

0 comments on commit 8fd99d6

Please sign in to comment.