From fc4dfe4fffce05c91f6766024891bdb39b2a3299 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 28 May 2024 14:54:05 +0100 Subject: feat(ui): use correct username on welcome screen (#2050) * wip * fetch and use username --- ui/src/pages/History.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ui/src/pages/History.tsx') diff --git a/ui/src/pages/History.tsx b/ui/src/pages/History.tsx index 34ad93c2..47074c62 100644 --- a/ui/src/pages/History.tsx +++ b/ui/src/pages/History.tsx @@ -8,9 +8,6 @@ import Drawer from "@/components/Drawer.tsx"; import { useStore } from "@/state/store"; -import { inspectHistory, listHistory } from "@/state/models"; -import { invoke } from "@tauri-apps/api/core"; - function Header() { return (
@@ -66,7 +63,7 @@ export default function Search() { refreshHistory(); }, []); - const parentRef = useRef(); + const parentRef = useRef(null); const rowVirtualizer = useVirtualizer({ count: history.length, -- cgit v1.3.1