diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-05-28 14:54:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-28 14:54:05 +0100 |
| commit | fc4dfe4fffce05c91f6766024891bdb39b2a3299 (patch) | |
| tree | a9a0923645a4e6f6047f25db0d2f4f25a984b4b0 /ui/src/pages/History.tsx | |
| parent | chore(deps): bump uuid from 1.7.0 to 1.8.0 (#2047) (diff) | |
| download | atuin-fc4dfe4fffce05c91f6766024891bdb39b2a3299.zip | |
feat(ui): use correct username on welcome screen (#2050)
* wip
* fetch and use username
Diffstat (limited to 'ui/src/pages/History.tsx')
| -rw-r--r-- | ui/src/pages/History.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
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 ( <div className="md:flex md:items-center md:justify-between"> @@ -66,7 +63,7 @@ export default function Search() { refreshHistory(); }, []); - const parentRef = useRef(); + const parentRef = useRef<HTMLElement | null>(null); const rowVirtualizer = useVirtualizer({ count: history.length, |
