fix: meta charSet -> charset (#1875)

This commit is contained in:
Marvin Hagemeister
2023-10-06 15:59:13 +02:00
committed by GitHub
parent 77ed10078c
commit e9717ed911
16 changed files with 152 additions and 38 deletions
+2 -2
View File
@@ -82,7 +82,7 @@ export function setRenderState(state: RenderState | null): void {
const supportsUnstableComments = renderToString(h(Fragment, {
// @ts-ignore unstable features not supported in types
UNSTABLE_comment: "foo",
})) !== "";
}) as VNode) !== "";
if (!supportsUnstableComments) {
console.warn(
@@ -347,7 +347,7 @@ options.__b = (vnode: VNode<Record<string, unknown>>) => {
);
}
const child = h(originalType, props);
const child = h(originalType, props) as VNode;
patched.add(child);
islandProps.push(props);