fix: await params for board metadata (#2406)
This commit is contained in:
1 parent
c5107b2b67
commit
2085b5ece2
1 file changed
+2
-2
@@ -41,9 +41,9 @@ export const createBoardContentPage = <TParams extends Record<string, unknown>>(
|
||||
</IntegrationProvider>
|
||||
);
|
||||
},
|
||||
generateMetadataAsync: async ({ params }: { params: TParams }): Promise<Metadata> => {
|
||||
generateMetadataAsync: async ({ params }: { params: Promise<TParams> }): Promise<Metadata> => {
|
||||
try {
|
||||
const board = await getInitialBoard(params);
|
||||
const board = await getInitialBoard(await params);
|
||||
const t = await getI18n();
|
||||
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user