From 01cbfbb835ae2b0cad01b1a76ec619aad5e00eae Mon Sep 17 00:00:00 2001 From: shahdivyank Date: Mon, 28 Oct 2024 17:29:29 -0700 Subject: [PATCH] fix --- src/components/applications/application.tsx | 4 ++-- src/components/global/inputs/input.tsx | 13 +++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/components/applications/application.tsx b/src/components/applications/application.tsx index 6b278c8..a0dbcad 100644 --- a/src/components/applications/application.tsx +++ b/src/components/applications/application.tsx @@ -4,7 +4,7 @@ import Textarea from "@/components/global/inputs/textarea"; import Select from "@/components/global/inputs/select"; import Text from "@/components/global/inputs/text"; import { Questions } from "@/types/questions"; -import InputWithLabel from "@/components/global/inputs/input"; +import Input from "@/components/global/inputs/input"; interface props { title: string; @@ -27,7 +27,7 @@ const Application = ({ title, questions }: props) => { }} /> - { +const Input = ({ meta }: { meta: TextInput }) => { const { title, placeholder, value } = meta; return (
- +
); }; -export default InputWithLabel; +export default Input;