mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
Fix typo in render/head.ts (#4720)
This commit is contained in:
parent
b0ee81d0a7
commit
ee03967f92
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ export function renderHead(result: SSRResult): Promise<string> {
|
||||||
}
|
}
|
||||||
|
|
||||||
// This function is called by Astro components that do not contain a <head> component
|
// This function is called by Astro components that do not contain a <head> component
|
||||||
// This accomodates the fact that using a <head> is optional in Astro, so this
|
// This accommodates the fact that using a <head> is optional in Astro, so this
|
||||||
// is called before a component's first non-head HTML element. If the head was
|
// is called before a component's first non-head HTML element. If the head was
|
||||||
// already injected it is a noop.
|
// already injected it is a noop.
|
||||||
export async function* maybeRenderHead(result: SSRResult): AsyncIterable<string> {
|
export async function* maybeRenderHead(result: SSRResult): AsyncIterable<string> {
|
||||||
|
|
Loading…
Reference in a new issue