From b464e311b44a5f3baeb1568ba55b6322a1a11638 Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Sun, 13 Sep 2026 11:43:52 -0700 Subject: Fix pnpm build error requirements --- jb-ui/src/JBApp.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'jb-ui/src/JBApp.tsx') diff --git a/jb-ui/src/JBApp.tsx b/jb-ui/src/JBApp.tsx index 4870e9b..c55cd73 100644 --- a/jb-ui/src/JBApp.tsx +++ b/jb-ui/src/JBApp.tsx @@ -13,7 +13,6 @@ import { UserWalletBalanceResponse, UserLedgerWallets, UserLedgerWalletAccountTypeEnum, - UserDisplayedWalletBalance, WalletApi, CashoutMethodsResponse, } from "@/api_fsb"; @@ -33,9 +32,7 @@ import { addCashoutMethods } from "@/models/cashoutMethodsSlice"; import { addEvent } from "@/models/grlEventsSlice"; import { addStatsData } from "@/models/grlStatsSlice"; -import Home from "@/pages/Home"; import MagicLink from "@/pages/MagicLink"; -import Preview from "@/pages/Preview"; import Result from "@/pages/Result"; import clsx from "clsx"; @@ -44,7 +41,6 @@ import Transfer from "@/pages/Transfer"; import { BrowserRouter, Outlet, - useLocation, useMatch, Route, Routes, @@ -83,7 +79,7 @@ function isPingMessage(msg: Message): msg is PingMessage { function QueryParamProcessor() { const dispatch = useAppDispatch(); const [searchParams] = useSearchParams(); - const { data: user, isLoading, isError } = useGetMeQuery(); + const { data: user } = useGetMeQuery(); useEffect(() => { if (user?.product_user_id) { @@ -169,8 +165,6 @@ function QueryParamProcessor() { } const Layout = () => { - const location = useLocation(); - const isWork = useMatch("/work/*"); const isPreview = useMatch("/preview/*"); const isSpecialSubview = Boolean(isWork || isPreview); -- cgit v1.2.3