diff --git a/app/history/components/HistoryContent.tsx b/app/history/components/HistoryContent.tsx index 2fbdc066..da2c499f 100644 --- a/app/history/components/HistoryContent.tsx +++ b/app/history/components/HistoryContent.tsx @@ -1,15 +1,12 @@ 'use client'; -import Link from 'next/link'; -import { Button } from '@/components/common/Button'; import Header from '@/components/layout/header/Header'; -import LoadingScreen from '@/components/Status/LoadingScreen'; import useUserPositions from '@/hooks/useUserPositions'; import { useUserRebalancerInfo } from '@/hooks/useUserRebalancerInfo'; import { HistoryTable } from './HistoryTable'; export default function HistoryContent({ account }: { account: string }) { - const { loading, history } = useUserPositions(account); + const { data: positions } = useUserPositions(account, true); const { rebalancerInfo } = useUserRebalancerInfo(account); @@ -19,24 +16,8 @@ export default function HistoryContent({ account }: { account: string }) {