diff --git a/src/Components/Profile/ProfileForm.tsx b/src/Components/Profile/ProfileForm.tsx index 03258d64..892f0b1e 100644 --- a/src/Components/Profile/ProfileForm.tsx +++ b/src/Components/Profile/ProfileForm.tsx @@ -130,7 +130,7 @@ export function ProfileForm({ userType }: { userType: string }) { )} {template == "simple" && - + } {template == "tabs" && diff --git a/src/Components/Profile/Templates/SimpleForm.tsx b/src/Components/Profile/Templates/SimpleForm.tsx index 4b060a96..6d630c41 100644 --- a/src/Components/Profile/Templates/SimpleForm.tsx +++ b/src/Components/Profile/Templates/SimpleForm.tsx @@ -1,10 +1,16 @@ -import { TextAreaInput } from "../../Input" +import { TextAreaInput } from "../../Input"; -export const SimpleForm = (item, setState) => { +export const SimpleForm = ({ state, setState }) => { return ( - setState(prevState => ({ - ...prevState, - text: v - }))} containerStyle='tw-mt-8 tw-h-full' inputStyle='tw-h-full' /> - ) -} + setState(prevState => ({ + ...prevState, + text: v + }))} + containerStyle='tw-mt-8 tw-h-full' + inputStyle='tw-h-full' + /> + ); +};