Fix typo
This commit is contained in:
parent
ea0a32a15b
commit
9fabfd5c40
|
|
@ -91,7 +91,7 @@ For example, in your `cshtml`,
|
|||
asp-prerender-data="new {
|
||||
IsGoldUser = true,
|
||||
Cookies = ViewContext.HttpContext.Request.Cookies
|
||||
}""></div>
|
||||
}"></div>
|
||||
|
||||
Now in your JavaScript prerendering function, you can access this data by reading `params.data`, e.g.:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue