Skip to content

Commit 63c3e1c

Browse files
committed
fix: tolt
1 parent f4dec2e commit 63c3e1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/frontend/src/components/billing/first.billing.component.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
} from '@gitroom/frontend/components/billing/faq.component';
2424
import { useT } from '@gitroom/react/translation/get.transation.service.client';
2525
import { useUser } from '@gitroom/frontend/components/layout/user.context';
26+
import { useTolt } from '@gitroom/frontend/components/layout/tolt.script';
2627

2728
const 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();

0 commit comments

Comments
 (0)