aboutsummaryrefslogtreecommitdiffstats
path: root/ui/src/components/history/HistoryInspect.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/history/HistoryInspect.tsx')
-rw-r--r--ui/src/components/history/HistoryInspect.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/history/HistoryInspect.tsx b/ui/src/components/history/HistoryInspect.tsx
index 8e820169..6c46f2db 100644
--- a/ui/src/components/history/HistoryInspect.tsx
+++ b/ui/src/components/history/HistoryInspect.tsx
@@ -4,7 +4,7 @@ import PacmanLoader from "react-spinners/PacmanLoader";
import CodeBlock from "@/components/CodeBlock";
import HistoryRow from "@/components/history/HistoryRow";
-import { inspectCommandHistory } from "@/state/models";
+import { ShellHistory, inspectCommandHistory } from "@/state/models";
function renderLoading() {
return (
@@ -15,7 +15,7 @@ function renderLoading() {
}
export default function HistoryInspect({ history }: any) {
- let [other, setOther] = useState([]);
+ let [other, setOther] = useState<ShellHistory[]>([]);
useEffect(() => {
(async () => {