overleaf/services/web/frontend/stories/settings/misc.stories.js
Timothée Alby 0c2c3bff8b Merge pull request #7711 from overleaf/ta-misc-section
[SettingsPage] Add Misc Section

GitOrigin-RevId: a4a00c6b2bb920a0c0c6665f30a9657a6e89bc8f
2022-04-25 08:05:19 +00:00

17 lines
427 B
JavaScript

import MiscSection from '../../js/features/settings/components/misc-section'
import { UserProvider } from '../../js/shared/context/user-context'
export const Section = args => {
window.metaAttributesCache.set('ol-user', { betaProgram: true })
return (
<UserProvider>
<MiscSection {...args} />
</UserProvider>
)
}
export default {
title: 'Account Settings / Misc / Section',
component: MiscSection,
}