Skip to content

Commit

Permalink
chore: add missing tanstack query key
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 committed Dec 20, 2024
1 parent 5c24d25 commit 360cbc5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion apps/frontend/src/app/(core)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ export default function Home() {
const mobile = isMobile(userAgent);
return (
<div className="max-h-full">
<DashboardView />
{mobile ? (
<div className="w-full h-[60dvh] flex items-center justify-center">
This page is not available on mobile devices.
</div>
) : (
<DashboardView />
)}
</div>
);
}
2 changes: 1 addition & 1 deletion apps/frontend/src/components/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export const Navbar = ({ mobile = false }: { mobile?: boolean }) => {
</Link>
<div className="flex items-center gap-x-2">
<Points />
<ConnectButton />
{!mobile && <ConnectButton />}
<Button
onMouseDown={() => setOpen(true)}
className="rounded-full w-[40px] h-[40px] p-0"
Expand Down
1 change: 1 addition & 0 deletions apps/frontend/src/hooks/useCollateralReserves.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const useCollateralReserves = (
'collateralReserves',
marketContract?.account?.address,
marketContract?.id,
assetId,
],
queryFn: async () => {
if (!assetId || !marketContract) return null;
Expand Down

0 comments on commit 360cbc5

Please sign in to comment.