diff --git a/frontend/src/components/InfoEditForm/InfoEditForm.jsx b/frontend/src/components/InfoEditForm/InfoEditForm.jsx index 4938ea7..447add7 100644 --- a/frontend/src/components/InfoEditForm/InfoEditForm.jsx +++ b/frontend/src/components/InfoEditForm/InfoEditForm.jsx @@ -1,11 +1,15 @@ import styles from './InfoEditForm.module.css'; import { useState } from 'react'; -export default function InfoEditForm() { +export default function InfoEditForm({ onSubmit }) { const [username, setUsername] = useState(''); const [useremail, setUseremail] = useState(''); + return ( -