Update language setting and versions in several packages
This commit includes an update of the language setting in the DocsPage and BlogPage functions in the marketing app to make it more dynamic. Additionally, the package versions of next, @makerkit/data-loader-supabase-nextjs, and various Next packages in the Supabase package have been updated.
This commit is contained in:
@@ -19,7 +19,7 @@ export const generateMetadata = async () => {
|
||||
};
|
||||
|
||||
async function BlogPage({ searchParams }: { searchParams: { page: string } }) {
|
||||
const { t } = await createI18nServerInstance();
|
||||
const { t, resolvedLanguage: language } = await createI18nServerInstance();
|
||||
const cms = await createCmsClient();
|
||||
|
||||
const page = searchParams.page ? parseInt(searchParams.page) : 0;
|
||||
@@ -30,6 +30,7 @@ async function BlogPage({ searchParams }: { searchParams: { page: string } }) {
|
||||
collection: 'posts',
|
||||
limit,
|
||||
offset,
|
||||
language,
|
||||
});
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user