mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
27 lines
583 B
JavaScript
27 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,
|
||
|
}
|