diff options
| author | Max Nanis | 2026-09-13 11:43:52 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-09-13 11:43:52 -0700 |
| commit | b464e311b44a5f3baeb1568ba55b6322a1a11638 (patch) | |
| tree | f478c15fdd1f886ed96135867aa6b32f2b599bee /jb-ui/src/JBApp.tsx | |
| parent | 83821dff9984fb950e53f23baf99d7a74fb88abd (diff) | |
| download | amt-jb-b464e311b44a5f3baeb1568ba55b6322a1a11638.tar.gz amt-jb-b464e311b44a5f3baeb1568ba55b6322a1a11638.zip | |
Fix pnpm build error requirements
Diffstat (limited to 'jb-ui/src/JBApp.tsx')
| -rw-r--r-- | jb-ui/src/JBApp.tsx | 8 |
1 files changed, 1 insertions, 7 deletions
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); |
