Skip to content

Commit

Permalink
Rebase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Dec 17, 2024
1 parent e54157b commit 12542b9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions centrifuge-app/src/pages/Pool/Assets/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ export function PoolDetailAssets() {
if (!poolId) throw new Error('Pool not found')

const pool = usePool(poolId)
const { data: loans } = useLoans(poolId)
const { data: snapshots } = useAllPoolAssetSnapshots(poolId, new Date().toISOString().slice(0, 10))
const { data: loans, isLoading } = useLoans(poolId)
const { data: snapshots, isLoading: isLoadingSnapshots } = useAllPoolAssetSnapshots(
poolId,
new Date().toISOString().slice(0, 10)
)
const isTinlakePool = poolId.startsWith('0x')
const basePath = useBasePath()
const cashLoans = (loans ?? []).filter(
Expand Down

0 comments on commit 12542b9

Please sign in to comment.