refactor: useUserSettings uses global state to reduce db calls

This commit is contained in:
Zoe
2026-03-01 20:29:37 -06:00
parent e0914b684a
commit 5a35976ce0
18 changed files with 128 additions and 127 deletions
-1
View File
@@ -75,7 +75,6 @@ const handleKeyDown = (e: KeyboardEvent) => {
// 60% of the window height aka 60vh
const itemsPerPage = Math.floor(((window.innerHeight * 0.6) - (inputRef.value?.parentElement?.clientHeight || 0)) / 42);
console.log(itemsPerPage);
switch (e.key) {
case 'ArrowDown':