mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
cb065e7f12
[Settings] Institutional Leavers Survey GitOrigin-RevId: 1774af7fc4bb90cb39c9fc188323c44a1256bb3d
15 lines
456 B
TypeScript
15 lines
456 B
TypeScript
import EmailsSection from '../../js/features/settings/components/emails-section'
|
|
import { LeaversSurveyAlert } from '../../js/features/settings/components/leavers-survey-alert'
|
|
|
|
export const SurveyAlert = () => {
|
|
localStorage.setItem(
|
|
'showInstitutionalLeaversSurveyUntil',
|
|
(Date.now() + 1000 * 60 * 60).toString()
|
|
)
|
|
return <LeaversSurveyAlert />
|
|
}
|
|
|
|
export default {
|
|
title: 'Account Settings / Survey Alerts',
|
|
component: EmailsSection,
|
|
}
|