aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src
diff options
context:
space:
mode:
Diffstat (limited to 'frontend-vanilla/src')
-rw-r--r--frontend-vanilla/src/main.ts2
-rw-r--r--frontend-vanilla/src/perf/store.perf.test.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/frontend-vanilla/src/main.ts b/frontend-vanilla/src/main.ts
index 7b55c48..7d75e14 100644
--- a/frontend-vanilla/src/main.ts
+++ b/frontend-vanilla/src/main.ts
@@ -291,7 +291,7 @@ export function renderItems() {
}
}
});
- }, { threshold: 0.5 });
+ }, { threshold: 1.0 });
contentArea.querySelectorAll('.feed-item').forEach(el => itemObserver!.observe(el));
}
diff --git a/frontend-vanilla/src/perf/store.perf.test.ts b/frontend-vanilla/src/perf/store.perf.test.ts
index 734e132..382cbb4 100644
--- a/frontend-vanilla/src/perf/store.perf.test.ts
+++ b/frontend-vanilla/src/perf/store.perf.test.ts
@@ -1,6 +1,6 @@
import { describe, it, expect } from 'vitest';
import { Store } from '../store';
-import type { Item, Feed, Category } from '../types';
+import type { Item, Feed } from '../types';
function makeItem(id: number): Item {
return {