Solved an oopsie

This commit is contained in:
Tiago Ribeiro
2023-11-27 23:09:37 +00:00
parent 7e0c071eee
commit f354a4f4fe

View File

@@ -190,7 +190,7 @@ const UserCard = ({user, loggedInUser, onClose, onViewStudents, onViewTeachers}:
name="monthlyDuration" name="monthlyDuration"
onChange={(e) => setMonthlyDuration(e ? parseInt(e) : undefined)} onChange={(e) => setMonthlyDuration(e ? parseInt(e) : undefined)}
placeholder="Enter monthly duration" placeholder="Enter monthly duration"
defaultValue={userAmount} defaultValue={monthlyDuration}
/> />
<div className="flex flex-col gap-3 w-full"> <div className="flex flex-col gap-3 w-full">