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