diff --git a/src/pages/attendance-history.tsx b/src/pages/attendance-history.tsx index d28822b3..bfc1a79f 100644 --- a/src/pages/attendance-history.tsx +++ b/src/pages/attendance-history.tsx @@ -790,7 +790,7 @@ const UserAttendanceHistory = () => { onClose={handleClose} classId={classId} selectedDate={selectedDate} - onSaveSuccess={() => setHandleSaveHasRun(true)} + onSaveSuccess={() => setHandleSaveHasRun(!handleSaveHasRun)} /> diff --git a/src/pages/dashboard.tsx b/src/pages/dashboard.tsx index 2a306e52..cf1bc71d 100644 --- a/src/pages/dashboard.tsx +++ b/src/pages/dashboard.tsx @@ -166,7 +166,7 @@ const Dashboard: React.FC = () => { if (classId) { let limit = 0; let page = 0; - let filters = { cohortId: classId}; + let filters = { cohortId: classId }; const response = await getMyCohortMemberList({ limit, page, @@ -583,6 +583,8 @@ const Dashboard: React.FC = () => { >