Fixed lint problems, fixed builds

This commit is contained in:
Alois 2026-04-12 00:20:24 +02:00
commit f018dafa4f
7 changed files with 87 additions and 61 deletions

View file

@ -62,7 +62,7 @@ export default function Navbar({ forMobile }: { forMobile: boolean }) {
</Button>
</>
)}
{pathname === "/chat" && (
{pathname === "/chat" && id && (
<Wrapper
userId={id}
component={(user) => (

View file

@ -22,6 +22,8 @@ export default function List() {
const scrollRef = React.useRef<HTMLDivElement | null>(null);
// TanStack Virtual is intentionally used here; React Compiler memoization is skipped.
// eslint-disable-next-line react-hooks/incompatible-library
const virtualizer = useVirtualizer({
count: items?.length || 0,
estimateSize: () => 60,