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-devtools": "^1.131.27",
"@tanstack/router-plugin": "^1.121.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"react-markdown": "^10.1.0",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",

View file

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