mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
16 lines
456 B
TypeScript
16 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,
|
||
|
}
|