Skip to content

Commit

Permalink
Feat/show small pools on (#848)
Browse files Browse the repository at this point in the history
* remove margin apy from Pools

* testnet release 2.14.18

* show small pools by default

* testnet release 2.14.18

* testnet release 2.14.19
  • Loading branch information
pgoos authored Nov 20, 2023
1 parent 66d8700 commit b384910
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app",
"version": "2.14.17",
"version": "2.14.19",
"private": true,
"scripts": {
"bump": "bump patch --tag --commit 'testnet release '",
Expand Down
4 changes: 2 additions & 2 deletions app/src/views/PoolPage/PoolItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ export default defineComponent({
? "..."
: `${(this.$props.poolStat?.poolApr ?? 0).toFixed(2)}%`}
</div>
<div
{/* <div
class={[
COLUMNS_LOOKUP.marginapy.class,
"flex items-center font-mono",
Expand All @@ -413,7 +413,7 @@ export default defineComponent({
{isNil(this.$props.poolStat?.margin_apr)
? "..."
: `${prettyNumberMinMax(this.$props.poolStat?.margin_apr ?? 0)}%`}
</div>
</div> */}
<div
class={[
COLUMNS_LOOKUP.userShare.class,
Expand Down
2 changes: 1 addition & 1 deletion app/src/views/PoolPage/PoolPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default defineComponent({
sortBy: "rewardApy" as PoolPageColumnId,
sortReverse: false,
searchQuery: "",
showSmallPools: false,
showSmallPools: true,
};
},
setup() {
Expand Down
14 changes: 7 additions & 7 deletions app/src/views/PoolPage/usePoolPageData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export type PoolPageData = ReturnType<typeof usePoolPageData>;
export type PoolPageColumnId =
| "token"
| "apy"
| "marginapy"
// | "marginapy"
| "gainLoss"
| "rewardApr"
| "poolTvl"
Expand Down Expand Up @@ -81,12 +81,12 @@ export const COLUMNS: PoolPageColumn[] = [
</code>
),
},
{
id: "marginapy",
name: "Margin APY",
class: "w-[128px] text-right justify-end whitespace-nowrap",
sortable: true,
},
// {
// id: "marginapy",
// name: "Margin APY",
// class: "w-[128px] text-right justify-end whitespace-nowrap",
// sortable: true,
// },
{
id: "userShare",
name: "Your Pool Share",
Expand Down
2 changes: 1 addition & 1 deletion app/src/views/StatsPage/StatsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default defineComponent({

const searchQuery = ref("");

const showSmallPools = ref(false);
const showSmallPools = ref(true);

const finalStats = computed(() => {
return statsRef.value.filter((item) => {
Expand Down

1 comment on commit b384910

@vercel
Copy link

@vercel vercel bot commented on b384910 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sifchain-ui – ./

sifchain-ui-git-master-sifchain.vercel.app
sifchain-ui-sifchain.vercel.app
dex.sifchain.finance

Please sign in to comment.