Skip to content

Commit

Permalink
chore: Remove all dependency on old API (#5916)
Browse files Browse the repository at this point in the history
* chore: Init

* chore: Add static lock pool data

* chore: Remove pool shares query

* chore: Remove portfolio from router

* fix: Typecheck

* fix: Imports
  • Loading branch information
garethfuller authored Nov 4, 2024
1 parent a646ee8 commit 6bfdb5d
Show file tree
Hide file tree
Showing 28 changed files with 151 additions and 816 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useI18n } from 'vue-i18n';
import { usePoolHelpers } from '@/composables/usePoolHelpers';
import { Pool } from '@/services/pool/types';
import BoostedActivities from '../BoostedPoolActivities/Activities.vue';
// import BoostedActivities from '../BoostedPoolActivities/Activities.vue';
import Activities from '../PoolActivities/Activities.vue';
import { PoolTransactionsTab } from '../types';
import useWeb3 from '@/services/web3/useWeb3';
Expand Down Expand Up @@ -98,36 +98,19 @@ const title = computed((): string => {
<BalTabs v-model="activeTab" :tabs="tabs" noPad class="-mb-px" />
</div>
</div>

<template v-if="isStablePhantomPool || isDeepPool">
<BoostedActivities
<div class="mb-20">
<Activities
v-if="activeTab === PoolTransactionsTab.ALL_ACTIVITY"
:poolActivityType="PoolTransactionsTab.ALL_ACTIVITY"
:pool="pool"
:loading="loading"
/>
<BoostedActivities
<Activities
v-else-if="activeTab === PoolTransactionsTab.USER_ACTIVITY"
:poolActivityType="PoolTransactionsTab.USER_ACTIVITY"
:pool="pool"
:loading="loading"
/>
</template>
<template v-else>
<div class="mb-20">
<Activities
v-if="activeTab === PoolTransactionsTab.ALL_ACTIVITY"
:poolActivityType="PoolTransactionsTab.ALL_ACTIVITY"
:pool="pool"
:loading="loading"
/>
<Activities
v-else-if="activeTab === PoolTransactionsTab.USER_ACTIVITY"
:poolActivityType="PoolTransactionsTab.USER_ACTIVITY"
:pool="pool"
:loading="loading"
/>
</div>
</template>
</div>
</div>
</template>
229 changes: 0 additions & 229 deletions src/components/contextual/pages/pools/StakedPoolsTable.vue

This file was deleted.

Loading

0 comments on commit 6bfdb5d

Please sign in to comment.