Fix adding group limits when creating supervisor

This commit is contained in:
adam-skowronek 2023-01-03 22:26:06 +01:00
parent 0a7dd7e364
commit 5d999ea9c8

View File

@ -101,13 +101,12 @@ const AddLeader = () => {
<InputError>Email jest wymagany</InputError>
)}
</div>
{/* <div className="form-control">
<div className="form-control">
<label className="label" htmlFor="limit_group">
Limit grup
</label>
<input
className="input input-bordered"
value="3"
id="limit_group"
type="text"
{...register('limit_group', {
@ -118,7 +117,7 @@ const AddLeader = () => {
{errors.limit_group?.type === 'pattern' && (
<InputError>Limit grup musi być liczbą dodatnią</InputError>
)}
</div> */}
</div>
<button className="btn btn-success mt-4">Dodaj opiekuna</button>
</form>
)