mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
cf2dfc6bf1
[SettingsPage] Integration Branch GitOrigin-RevId: 5a3c26b2a02d716c4ae3981e3f08b811ae307725
26 lines
583 B
JavaScript
26 lines
583 B
JavaScript
import EmailsSection from '../../js/features/settings/components/emails-section'
|
|
import useFetchMock from './../hooks/use-fetch-mock'
|
|
import {
|
|
setDefaultMeta,
|
|
defaultSetupMocks,
|
|
errorsMocks,
|
|
} from './helpers/emails'
|
|
|
|
export const EmailsList = args => {
|
|
useFetchMock(defaultSetupMocks)
|
|
setDefaultMeta()
|
|
|
|
return <EmailsSection {...args} />
|
|
}
|
|
|
|
export const NetworkErrors = args => {
|
|
useFetchMock(errorsMocks)
|
|
setDefaultMeta()
|
|
|
|
return <EmailsSection {...args} />
|
|
}
|
|
|
|
export default {
|
|
title: 'Account Settings / Emails and Affiliations',
|
|
component: EmailsSection,
|
|
}
|