mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
7c243c6c50
[SettingsPage] Small Fixes 6 GitOrigin-RevId: 19ad9a195a401909ac3dcc2be79d380cb61078da
16 lines
508 B
TypeScript
16 lines
508 B
TypeScript
import EmailsSection from '../../js/features/settings/components/emails-section'
|
|
import { LeaversSurveyAlert } from '../../js/features/settings/components/leavers-survey-alert'
|
|
import localStorage from '../../js/infrastructure/local-storage'
|
|
|
|
export const SurveyAlert = () => {
|
|
localStorage.setItem(
|
|
'showInstitutionalLeaversSurveyUntil',
|
|
Date.now() + 1000 * 60 * 60
|
|
)
|
|
return <LeaversSurveyAlert />
|
|
}
|
|
|
|
export default {
|
|
title: 'Account Settings / Survey Alerts',
|
|
component: EmailsSection,
|
|
}
|