[FEAT] Added missing types
This commit is contained in:
@@ -7,6 +7,8 @@ export interface BlogPost {
|
|||||||
description: string;
|
description: string;
|
||||||
image: string;
|
image: string;
|
||||||
content: string;
|
content: string;
|
||||||
|
keywords?: string;
|
||||||
|
author?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function useBlog() {
|
export function useBlog() {
|
||||||
@@ -26,6 +28,8 @@ export function useBlog() {
|
|||||||
description: data.description,
|
description: data.description,
|
||||||
image: data.image,
|
image: data.image,
|
||||||
content: markdownContent,
|
content: markdownContent,
|
||||||
|
keywords: data.keywords,
|
||||||
|
author: data.author,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user