Replaced contentlayer with keystatic
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "*",
|
||||
"@types/node": "^20.12.7",
|
||||
"wp-types": "^3.64.0"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export function WordpressContentRenderer(props: { content: string }) {
|
||||
return <div dangerouslySetInnerHTML={{ __html: props.content }} />;
|
||||
export function WordpressContentRenderer(props: { content: unknown }) {
|
||||
return <div dangerouslySetInnerHTML={{ __html: props.content as string }} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user