File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
apps/frontend/src/components/billing Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import {
2323} from '@gitroom/frontend/components/billing/faq.component' ;
2424import { useT } from '@gitroom/react/translation/get.transation.service.client' ;
2525import { useUser } from '@gitroom/frontend/components/layout/user.context' ;
26+ import { useTolt } from '@gitroom/frontend/components/layout/tolt.script' ;
2627
2728const ModeComponent = dynamic (
2829 ( ) => import ( '@gitroom/frontend/components/layout/mode.component' ) ,
@@ -49,6 +50,7 @@ export const FirstBillingComponent = () => {
4950 const [ period , setPeriod ] = useState ( 'MONTHLY' ) ;
5051 const fetch = useFetch ( ) ;
5152 const t = useT ( ) ;
53+ const tolt = useTolt ( ) ;
5254
5355 useEffect ( ( ) => {
5456 setStripe ( loadStripe ( stripeClient ) ) ;
@@ -61,6 +63,7 @@ export const FirstBillingComponent = () => {
6163 body : JSON . stringify ( {
6264 billing : tier ,
6365 period : period ,
66+ tolt : tolt ( ) ,
6467 } ) ,
6568 } )
6669 ) . json ( ) ;
You can’t perform that action at this time.
0 commit comments