fix: complete dynamic social image metadata
This commit is contained in:
1 parent
62bcfbd8fa
commit
4a4b41613a
3 files changed
+8
-3
No files matched your search
@@ -31,7 +31,7 @@ export default async function Image({
|
||||
id,
|
||||
}: {
|
||||
params: Promise<{ slug: string }>;
|
||||
id: Promise<string | number>;
|
||||
id: Promise<string>;
|
||||
}) {
|
||||
const [{ slug }, imageId] = await Promise.all([params, id]);
|
||||
const service = getServicePage(slug);
|
||||
|
||||
Reference in new issue
Block a user