(teacherId)
| 41 | } |
| 42 | |
| 43 | function teacherModalSeenKey (teacherId) { |
| 44 | return `seen-teacher-details-modal_${teacherId}` |
| 45 | } |
| 46 | |
| 47 | export function hasSeenTeacherDetailModalRecently (teacherId) { |
| 48 | const weekAgo = new Date(new Date() - 7 * 24 * 60 * 60 * 1000) |
no outgoing calls
no test coverage detected