Skip to content

Commit

Permalink
Token types
Browse files Browse the repository at this point in the history
  • Loading branch information
kent-white committed Aug 8, 2023
1 parent b15a2ae commit f4788fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/pages/Account/Components/TokensTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {assertNever} from "../../../utils";
import GeneralTableBody from "../../../components/Table/GeneralTableBody";
import GeneralTableCell from "../../../components/Table/GeneralTableCell";
import {Link, useNavigate} from "../../../routing";
import {Current_Token_Ownerships_V2} from "aptos";

type TokenCellProps = {
token: any; // TODO: add graphql data typing
Expand Down Expand Up @@ -101,7 +102,7 @@ const DEFAULT_COLUMNS: Column[] = [
];

type TokenRowProps = {
token: any; // TODO: add graphql data typing
token: Current_Token_Ownerships_V2;
columns: Column[];
};

Expand Down Expand Up @@ -148,7 +149,7 @@ function TokenHeaderCell({column}: TokenHeaderCellProps) {
}

type TokensTableProps = {
tokens: any; // TODO: add graphql data typing
tokens: Current_Token_Ownerships_V2[];
columns?: Column[];
};

Expand Down
2 changes: 1 addition & 1 deletion src/pages/Token/Component/ActivitiesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const DEFAULT_COLUMNS: Column[] = [
];

type ActivityRowProps = {
activity: any; // TODO: add graphql data typing
activity: Token_Activities_V2;
columns: Column[];
};

Expand Down

0 comments on commit f4788fb

Please sign in to comment.