From 822957bf94fe1dbec9dfc69bee0cce755710188e Mon Sep 17 00:00:00 2001 From: tomholford Date: Fri, 4 Nov 2022 00:20:16 -0700 Subject: [PATCH] grid: TreatyInfo consumes pike --- .gitignore | 2 ++ pkg/grid/src/nav/search/TreatyInfo.tsx | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2bfb2cd26f..5c6cc51b1d 100644 --- a/.gitignore +++ b/.gitignore @@ -84,3 +84,5 @@ pkg/interface/link-webext/web-ext-artifacts *.log .vercel + +pkg/hodl/ \ No newline at end of file diff --git a/pkg/grid/src/nav/search/TreatyInfo.tsx b/pkg/grid/src/nav/search/TreatyInfo.tsx index a6c78feecb..ac305e0d78 100644 --- a/pkg/grid/src/nav/search/TreatyInfo.tsx +++ b/pkg/grid/src/nav/search/TreatyInfo.tsx @@ -3,7 +3,7 @@ import { useParams } from 'react-router-dom'; import { AppInfo } from '../../components/AppInfo'; import { Spinner } from '../../components/Spinner'; import useDocketState, { useCharge, useTreaty } from '../../state/docket'; -import { useVat } from '../../state/kiln'; +import { usePike } from '../../state/kiln'; import { getAppName } from '../../state/util'; import { useLeapStore } from '../Nav'; @@ -11,7 +11,7 @@ export const TreatyInfo = () => { const select = useLeapStore((state) => state.select); const { host, desk } = useParams<{ host: string; desk: string }>(); const treaty = useTreaty(host, desk); - const vat = useVat(desk); + const pike = usePike(desk); const charge = useCharge(desk); const name = getAppName(treaty); @@ -34,5 +34,5 @@ export const TreatyInfo = () => { ); } - return ; + return ; };