feat: Add account pages
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
@ -1,6 +1,4 @@
|
||||
---
|
||||
const json = JSON.stringify(Astro.props)
|
||||
|
||||
/**
|
||||
* note: you MUST only pass simple items that can go in JSON format natively
|
||||
*/
|
||||
@ -12,5 +10,6 @@ export function load<T extends {} = {}>(): T {
|
||||
return JSON.parse(tag.innerText)
|
||||
}
|
||||
|
||||
const json = JSON.stringify(Astro.props)
|
||||
---
|
||||
<script id="ASTRO_DATA" is:inline type="application/json" set:html={json}></script>
|
||||
|
Reference in New Issue
Block a user