Skip to content

Commit

Permalink
update config for puffer
Browse files Browse the repository at this point in the history
  • Loading branch information
hugolxt committed Jan 6, 2025
1 parent 85e15ff commit 817b45f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions merkl.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ export default createConfig({
defaultTheme: "puffer",
deposit: false,
tags: ["puffer"],
opportunityNavigationMode: "supply",
opportunityNavigationMode: "direct",
tokenSymbolPriority: ["ZK", "USDC", "USDC.e", "ETH", "WETH", "WBTC", "wstETH", "USDT", "USDe", "weETH", "DAI"],
opportunityCellHideTags: ["token", "action"],
rewardsNavigationMode: "chain",
opportunityLibraryDefaultView: "cells",
rewardsNavigationMode: "opportunity",
opportunityLibraryDefaultView: "table",
// opportunityLibraryExcludeFilters: ["protocol","action"],
opprtunityPercentage: true,
hideLayerMenuHomePage: false,
Expand Down Expand Up @@ -181,7 +181,7 @@ export default createConfig({
enabled: false,
},
bridge: {
enabled: true,
enabled: false,
},
},
socials: {
Expand Down
3 changes: 1 addition & 2 deletions src/routes/_merkl.users.$address.claims.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ export async function loader({ params: { address } }: LoaderFunctionArgs) {
export default function Index() {
const { claims } = useLoaderData<typeof loader>();

const claimWiped = claims.filter(claim => BigInt(claim.amount) > 0n);
const claimWiped = claims.filter(claim => BigInt((claim.amount ?? 0) * 10 ** claim.token.decimals) > 0n);

return (
<Container>
<Space size="md" />
<HistoricalClaimsLibrary claims={claimWiped} />
<Space size="md" />
</Container>
);
}

0 comments on commit 817b45f

Please sign in to comment.