MCPcopy Create free account
hub / github.com/codecombat/codecombat / teacherModalSeenKey

Function teacherModalSeenKey

ozaria/site/common/utils.js:43–45  ·  view source on GitHub ↗
(teacherId)

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected