Skip to content

Commit 53b372b

Browse files
committed
chore: no compilation errors
1 parent af90607 commit 53b372b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+153
-8310
lines changed

src/components/catalog/Catalog.tsx

+2-24
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
import React, { FunctionComponent, useCallback } from "react";
1818
import { useAlertFavicon } from "../../providers/Notifications";
1919
import { darkTheme, lightTheme } from "../../theme/theme";
20-
import { AssetDropdown } from "../dropdowns/AssetDropdown";
20+
import { RichDropdown } from "../dropdowns/RichDropdown";
2121
import { BridgePurePaper, PaperContent } from "../layout/Paper";
2222
import { Debug } from "../utils/Debug";
2323
import { Cartesian, RandomText, Section } from "./PresentationHelpers";
@@ -82,24 +82,8 @@ export const Catalog: FunctionComponent = () => {
8282
<div>
8383
<Box height={200}>
8484
<Box pb={1}>
85-
<AssetDropdown
86-
defaultValue="BTC"
87-
label="Send"
88-
/>
85+
<RichDropdown defaultValue="BTC" label="Send" />
8986
</Box>
90-
<Box pb={1}>
91-
<AssetDropdown
92-
mode="chain"
93-
defaultValue="ETHC"
94-
label="Destination Chain"
95-
/>
96-
</Box>
97-
<AssetDropdown
98-
condensed
99-
mode="chain"
100-
defaultValue="ETHC"
101-
label="Destination Chain"
102-
/>
10387
</Box>
10488
<Button
10589
variant="contained"
@@ -113,12 +97,6 @@ export const Catalog: FunctionComponent = () => {
11397
)}
11498
{tab === TabPhase.RELEASE && (
11599
<div>
116-
<Box height={200}>
117-
<AssetDropdown
118-
defaultValue="BCH"
119-
label="Receive"
120-
/>
121-
</Box>
122100
<Button
123101
variant="contained"
124102
color="primary"

src/components/catalog/sections/ModalsSection.tsx

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import {
66
Typography,
77
} from "@material-ui/core";
88
import React, { FunctionComponent, useCallback, useState } from "react";
9-
import {
10-
ExpiredErrorDialog,
11-
GeneralErrorDialog,
12-
SubmitErrorDialog,
13-
} from "../../../features/transactions/components/TransactionsHelpers";
9+
// import {
10+
// ExpiredErrorDialog,
11+
// GeneralErrorDialog,
12+
// SubmitErrorDialog,
13+
// } from "../../../features/transactions/components/TransactionsHelpers";
1414
import { ActionButton } from "../../buttons/Buttons";
1515
import { Link } from "../../links/Links";
1616
import { BridgeModal } from "../../modals/BridgeModal";
@@ -124,9 +124,9 @@ export const ModalsSection: FunctionComponent = () => {
124124
activeStep={activeStep}
125125
/>
126126
</BridgeModal>
127-
<SubmitErrorDialog open={false} onAction={() => {}} />
128-
<GeneralErrorDialog open={false} onAction={() => {}} />
129-
<ExpiredErrorDialog open={false} onAction={() => {}} />
127+
{/*<SubmitErrorDialog open={false} onAction={() => {}} />*/}
128+
{/*<GeneralErrorDialog open={false} onAction={() => {}} />*/}
129+
{/*<ExpiredErrorDialog open={false} onAction={() => {}} />*/}
130130
</Section>
131131
);
132132
};

src/components/dropdowns/AssetDropdown.tsx

-253
This file was deleted.

0 commit comments

Comments
 (0)