Skip to content

Commit

Permalink
feat: XYK token & pool transactions (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenlejoe authored Jan 16, 2024
1 parent be36171 commit 8c4e281
Show file tree
Hide file tree
Showing 12 changed files with 898 additions and 17 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"vite-plugin-dts": "^1.7.3",
"vite-plugin-lib-inject-css": "^1.3.0",
"vite-tsconfig-paths": "^4.2.1",
"@covalenthq/client-sdk": "^0.7.4"
"@covalenthq/client-sdk": "^0.7.5"
},
"peerDependencies": {
"react": "^18.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,15 +437,6 @@ export const TokenTransfersListView: React.FC<TokenTransfersListViewProps> = ({
});
};

// const handleSkipPagination = (page: number) => {
// setPaginator((prev) => {
// return {
// ...prev,
// pageNumber: page - 1,
// };
// });
// };

const handlePageSize = (size: number) => {
setPaginator((prev) => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { type Meta, type StoryObj } from "@storybook/react";
import { XYKPoolTransactionsListView } from "./XYKPoolTransactionsListView";

type Story = StoryObj<typeof XYKPoolTransactionsListView>;

const meta: Meta<typeof XYKPoolTransactionsListView> = {
title: "Organisms/XYK/Pool",
component: XYKPoolTransactionsListView,
};

export default meta;

export const XYKPoolTransactionsList: Story = {
args: {
chain_name: "eth-mainnet",
dex_name: "uniswap_v2",
pool_address: "0x21b8065d10f73ee2e260e5b47d3344d3ced7596e",
},
};
Loading

0 comments on commit 8c4e281

Please sign in to comment.