Skip to content

Commit

Permalink
Remove order exec button from tinlake pools
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Oct 15, 2024
1 parent 8d23257 commit 4edf6e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion centrifuge-app/src/components/LiquidityEpochSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ function TinlakeEpochStatus({ pool }: { pool: TinlakePool }) {
} = useWallet()
const { refetch: refetchBalances } = useTinlakeBalances()
const { refetch: refetchInvestments } = useTinlakeInvestments(pool.id)
const isTinlakePool = pool.id?.startsWith('0x')

const { execute: closeEpochTx, isLoading: loadingClose } = useTinlakeTransaction(
pool.id,
Expand Down Expand Up @@ -469,7 +470,7 @@ function TinlakeEpochStatus({ pool }: { pool: TinlakePool }) {
}

return (
<PageSection title="Order overview" headerRight={epochButtonElement}>
<PageSection title="Order overview" headerRight={isTinlakePool ? <></> : epochButtonElement}>
<Stack gap="2">
<Stack gap="3">
<DataTableGroup>
Expand Down

0 comments on commit 4edf6e5

Please sign in to comment.