From 0b01d9308316d73b5683c319099860611c7a6559 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Fri, 26 Jul 2024 19:08:49 +0100 Subject: fix(gui): random ts errors (#2316) --- ui/src/pages/History.tsx | 42 ------------------------------------------ ui/src/pages/Runbooks.tsx | 2 -- 2 files changed, 44 deletions(-) (limited to 'ui/src/pages') diff --git a/ui/src/pages/History.tsx b/ui/src/pages/History.tsx index 7002f3c4..32f5217e 100644 --- a/ui/src/pages/History.tsx +++ b/ui/src/pages/History.tsx @@ -3,51 +3,9 @@ import { useVirtualizer } from "@tanstack/react-virtual"; import HistoryList from "@/components/HistoryList.tsx"; import HistorySearch from "@/components/HistorySearch.tsx"; -import Stats from "@/components/history/Stats.tsx"; -import Drawer from "@/components/Drawer.tsx"; import { AtuinState, useStore } from "@/state/store"; -function Header() { - return ( -
-
-

- Shell History -

-
-
- - - - - - } - > - - -
-
- ); -} - export default function Search() { const history = useStore((state: AtuinState) => state.shellHistory); const refreshHistory = useStore( diff --git a/ui/src/pages/Runbooks.tsx b/ui/src/pages/Runbooks.tsx index d0efbc1c..a0b844a6 100644 --- a/ui/src/pages/Runbooks.tsx +++ b/ui/src/pages/Runbooks.tsx @@ -1,8 +1,6 @@ import Editor from "@/components/runbooks/editor/Editor"; import List from "@/components/runbooks/List"; -import { Checkbox } from "@nextui-org/react"; - import { useStore } from "@/state/store"; export default function Runbooks() { -- cgit v1.3.1