Skip to content

The Open Source DocuSign Alternative.

fix: open page

David Nguyen54c0c6be14cf
diff --git a/apps/marketing/src/app/(marketing)/open/page.tsx b/apps/marketing/src/app/(marketing)/open/page.tsx
index 035b4de38..367afcd5a 100644
--- a/apps/marketing/src/app/(marketing)/open/page.tsx
+++ b/apps/marketing/src/app/(marketing)/open/page.tsx
@@ -1,6 +1,7 @@
import type { Metadata } from 'next';
import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { z } from 'zod';
import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
@@ -130,9 +131,9 @@ const fetchEarlyAdopters = async () => {
};
export default async function OpenPage() {
- const { i18n } = await setupI18nSSR();
+ await setupI18nSSR();
- const { _ } = i18n;
+ const { _ } = useLingui();
const [
{ forks_count: forksCount, stargazers_count: stargazersCount },