mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-09 01:33:38 +00:00
28 lines
690 B
TypeScript
28 lines
690 B
TypeScript
|
import { useMeta } from '../../hooks/use-meta'
|
||
|
import SSOLinkConfirm from '../../../../modules/managed-users/frontend/js/components/sso-link-confirm'
|
||
|
|
||
|
export const LinkConfirmInterstitial = () => {
|
||
|
return <SSOLinkConfirm />
|
||
|
}
|
||
|
|
||
|
export const LinkConfirmInterstitialWithError = () => {
|
||
|
useMeta({ 'ol-error': 'SAMLInvalidSignatureError' })
|
||
|
return <SSOLinkConfirm />
|
||
|
}
|
||
|
|
||
|
export default {
|
||
|
title: 'Subscription / SSO / Link',
|
||
|
component: SSOLinkConfirm,
|
||
|
decorators: [
|
||
|
(Story: any) => {
|
||
|
useMeta({ 'ol-groupId': '123' })
|
||
|
useMeta({ 'ol-email': 'user@example.com' })
|
||
|
return (
|
||
|
<div className="container">
|
||
|
<Story />
|
||
|
</div>
|
||
|
)
|
||
|
},
|
||
|
],
|
||
|
}
|