Skip to content

Commit f7c835f

Browse files
Merge branch 'main' into winston/dash-398-enish-cant-download-wallet-addresses-from-dashboard
2 parents 7d69cbb + 022e403 commit f7c835f

File tree

10 files changed

+12
-68
lines changed

10 files changed

+12
-68
lines changed

apps/dashboard/.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ module.exports = {
5959
"FormHelperText",
6060
"FormErrorMessage",
6161
"MenuGroup",
62-
"MenuItem",
6362
"VStack",
6463
"HStack",
6564
"AspectRatio",

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_components/claim-conditions/claim-conditions-form/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
Flex,
1414
Menu,
1515
MenuButton,
16+
MenuItem,
1617
MenuList,
1718
} from "@chakra-ui/react";
1819
import { TransactionButton } from "components/buttons/TransactionButton";
@@ -39,7 +40,7 @@ import {
3940
useSendAndConfirmTransaction,
4041
} from "thirdweb/react";
4142
import invariant from "tiny-invariant";
42-
import { Button, Heading, MenuItem, Text } from "tw-components";
43+
import { Button, Heading, Text } from "tw-components";
4344
import * as z from "zod";
4445
import { ZodError } from "zod";
4546
import {

apps/dashboard/src/components/chain-validation/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { InlineCode } from "@/components/ui/inline-code";
2+
import { TableContainer } from "@/components/ui/table";
23
import {
34
FormControl,
45
Input,
@@ -15,7 +16,7 @@ import { useRpcValidation } from "hooks/chains/useRpcValidation";
1516
import { AlertCircleIcon, CheckCircleIcon } from "lucide-react";
1617
import { type ChangeEvent, useState } from "react";
1718

18-
import { Button, Card, FormLabel, Link, TableContainer } from "tw-components";
19+
import { Button, Card, FormLabel, Link } from "tw-components";
1920

2021
const StatusCheck = (props: {
2122
status: "success" | "error" | "warning";

apps/dashboard/src/components/contract-components/contract-table/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import { TableContainer } from "@/components/ui/table";
12
import { Spinner, Table, Tbody, Td, Th, Thead, Tr } from "@chakra-ui/react";
23
import { useMemo } from "react";
34
import { type Column, type Row, useTable } from "react-table";
45
import { Text } from "tw-components";
5-
import { TableContainer } from "tw-components/table-container";
66
import type { ComponentWithChildren } from "types/component-with-children";
77
import type { ContractCellContext, ContractId } from "../types";
88
import { ContractDescriptionCell } from "./cells/description";
@@ -55,7 +55,7 @@ export const DeployableContractTable: ComponentWithChildren<
5555
data: contractIds.map((contractId) => ({ contractId })),
5656
});
5757
return (
58-
<TableContainer className="relative">
58+
<TableContainer>
5959
{isFetching && (
6060
<Spinner
6161
color="primary"

apps/dashboard/src/components/settings/Account/Billing/DowngradeDialog.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ import {
88
Flex,
99
Menu,
1010
MenuButton,
11+
MenuItem,
1112
MenuList,
1213
Textarea,
1314
} from "@chakra-ui/react";
1415
import { ChevronDownIcon, XIcon } from "lucide-react";
1516
import { useRef, useState } from "react";
16-
import { Button, MenuItem, Text } from "tw-components";
17+
import { Button, Text } from "tw-components";
1718

1819
const DOWNGRADE_OPTIONS = {
1920
customer_service: "Not happy with customer service",

apps/dashboard/src/components/shared/TWQueryTable.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { TableContainer } from "@/components/ui/table";
12
import {
23
Box,
34
ButtonGroup,
@@ -24,7 +25,7 @@ import {
2425
import { MoveRightIcon } from "lucide-react";
2526
import pluralize from "pluralize";
2627
import { type SetStateAction, useMemo } from "react";
27-
import { Button, TableContainer, Text } from "tw-components";
28+
import { Button, Text } from "tw-components";
2829

2930
type TWQueryTableProps<TRowData, TInputData> = {
3031
// biome-ignore lint/suspicious/noExplicitAny: FIXME

apps/dashboard/src/tw-components/button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ import { fontWeights, letterSpacings, lineHeights } from "theme/typography";
1616
import { ChakraNextLink } from "./link";
1717
import { convertFontSizeToCSSVar } from "./utils/typography";
1818

19-
export const buttonSizesMap = {
19+
const buttonSizesMap = {
2020
xs: "sm",
2121
sm: "md",
2222
md: "lg",
2323
lg: "xl",
2424
} as const;
2525

26-
export type PossibleButtonSize = keyof typeof buttonSizesMap;
26+
type PossibleButtonSize = keyof typeof buttonSizesMap;
2727

2828
export interface ButtonProps extends Omit<ChakraButtonProps, "size"> {
2929
size?: PossibleButtonSize;

apps/dashboard/src/tw-components/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,4 @@ export * from "./drawer";
77
export * from "./form";
88
export * from "./heading";
99
export * from "./link";
10-
export * from "./menu";
11-
export * from "./table-container";
1210
export * from "./text";

apps/dashboard/src/tw-components/menu.tsx

Lines changed: 0 additions & 39 deletions
This file was deleted.

apps/dashboard/src/tw-components/table-container.tsx

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)