Skip to content

Commit dd6fef3

Browse files
authoredJul 22, 2024
fix(): Remove exports. (#12)
Co-authored-by: aidanCQ <aidan.keay@quantinuum.com>
1 parent 71fb766 commit dd6fef3

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed
 

‎package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"tailwindcss-animate": "^1.0.7"
7979
},
8080
"dependencies": {
81-
"@hookform/resolvers": "^3.3.4",
81+
8282
"@radix-ui/react-accordion": "^1.1.2",
8383
"@radix-ui/react-alert-dialog": "^1.0.5",
8484
"@radix-ui/react-aspect-ratio": "^1.0.3",
@@ -125,8 +125,9 @@
125125
"@tailwindcss/typography": "^0.5.10",
126126
"react": "^18.2.0",
127127
"react-dom": "^18.2.0",
128+
"react-hook-form": "^7.50.1",
128129
"tailwindcss": "^3.3.6",
129130
"tailwindcss-animate": "^1.0.7",
130-
"react-hook-form": "^7.50.1"
131+
"@hookform/resolvers": "^3.9.0"
131132
}
132133
}

‎src/shadcn/ui/form.tsx

-7
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ import {
88
FieldValues,
99
FormProvider,
1010
useFormContext,
11-
useForm,
12-
useFieldArray
1311
} from "react-hook-form";
14-
import { zodResolver } from "@hookform/resolvers/zod";
1512
import { cn } from "src/utils";
1613
import { Label } from "./label";
1714

@@ -175,8 +172,4 @@ export {
175172
FormItem,
176173
FormLabel,
177174
FormMessage,
178-
useFormField,
179-
useForm,
180-
useFieldArray,
181-
zodResolver
182175
};

0 commit comments

Comments
 (0)