[ci] format
This commit is contained in:
parent
cf2bba1e4a
commit
5bcddc3120
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
import { Renderer, Fragment, markHTMLString } from '../runtime/server/index.js';
|
||||
import { Fragment, markHTMLString, Renderer } from '../runtime/server/index.js';
|
||||
|
||||
const AstroJSX = 'astro:jsx';
|
||||
const Empty = Symbol('empty');
|
||||
|
|
|
@ -40,7 +40,7 @@ export async function renderJSX(result: SSRResult, vnode: any): Promise<any> {
|
|||
switch (true) {
|
||||
case !vnode.type: {
|
||||
throw new Error(`Unable to render ${result._metadata.pathname} because it contains an undefined Component!
|
||||
Did you forget to import the component or is it possible there is a typo?`)
|
||||
Did you forget to import the component or is it possible there is a typo?`);
|
||||
}
|
||||
case (vnode.type as any) === Symbol.for('astro:fragment'):
|
||||
return renderJSX(result, vnode.props.children);
|
||||
|
|
Loading…
Reference in a new issue