🐛 fix the order of feedback cards

This commit is contained in:
2026-03-02 10:44:26 +10:00
parent 1e48feb698
commit 384200a765
2 changed files with 3 additions and 2 deletions

View File

@@ -7,7 +7,8 @@
"dev": "electron-vite dev",
"build": "electron-vite build",
"preview": "electron-vite preview",
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json"
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json",
"dev:demo": "vite --config vite.demo.config.ts"
},
"devDependencies": {
"@electron-toolkit/tsconfig": "^1.0.1",

View File

@@ -266,7 +266,7 @@ export function FeedbackPanel(): JSX.Element {
</div>
<div className="fb-list">
{annotations.map(ann => (
{[...annotations].sort((a, b) => a.from - b.from).map(ann => (
<FeedbackCard
key={ann.id}
ann={ann}