fix: small fix + CVE

This commit is contained in:
Alzalia 2025-12-08 21:53:34 +01:00
parent af7575efff
commit a638ee31b2
3 changed files with 1331 additions and 1073 deletions

2382
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -20,8 +20,8 @@
"@tanstack/react-router": "^1.130.2", "@tanstack/react-router": "^1.130.2",
"@tanstack/react-router-devtools": "^1.131.27", "@tanstack/react-router-devtools": "^1.131.27",
"@tanstack/router-plugin": "^1.121.2", "@tanstack/router-plugin": "^1.121.2",
"react": "^19.0.0", "react": "^19.2.1",
"react-dom": "^19.0.0", "react-dom": "^19.2.1",
"react-markdown": "^10.1.0", "react-markdown": "^10.1.0",
"rehype-raw": "^7.0.0", "rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0", "rehype-sanitize": "^6.0.0",

View file

@ -21,7 +21,8 @@ export default function Comments() {
let data = Route.useLoaderData() let data = Route.useLoaderData()
let lang = loadLang() let lang = loadLang()
const items = data.map((e: any, i: any) => ( const items = data
.map((e: any, i: any) => (
<Comment <Comment
author={e.author} author={e.author}
content={e.content} content={e.content}
@ -29,6 +30,7 @@ export default function Comments() {
key={i} key={i}
/> />
)) ))
.reverse()
return ( return (
<div className="bg-[url(/public/bg.jpeg)] bg-cover bg-no-repeat bg-center min-h-screen"> <div className="bg-[url(/public/bg.jpeg)] bg-cover bg-no-repeat bg-center min-h-screen">