Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ops): remove bittrex and lock #729

Merged
merged 3 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions cypress/deprecated/dfi.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ context("/dfi page on desktop", () => {
.should("have.text", "Exchanges");
cy.findByTestId("ExchangeSection.Text").should("be.visible");
cy.findByTestId("ExchangeSection.Bittrue").should("be.visible");
cy.findByTestId("ExchangeSection.Bittrex").should("be.visible");
cy.findByTestId("ExchangeSection.Kucoin").should("be.visible");
cy.findByTestId("ExchangeSection.EasyAu").should("be.visible");
cy.findByTestId("ExchangeSection.EasyNz").should("be.visible");
Expand Down Expand Up @@ -147,7 +146,6 @@ context("/dfi page on mobile", () => {
.should("have.text", "Exchanges");
cy.findByTestId("ExchangeSection.Text").should("be.visible");
cy.findByTestId("ExchangeSection.Bittrue").should("be.visible");
cy.findByTestId("ExchangeSection.Bittrex").should("be.visible");
cy.findByTestId("ExchangeSection.Kucoin").should("be.visible");
cy.findByTestId("ExchangeSection.EasyAu").should("be.visible");
cy.findByTestId("ExchangeSection.EasyNz").should("be.visible");
Expand Down
5 changes: 0 additions & 5 deletions cypress/fixture/dfi.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
/* eslint-disable import/prefer-default-export */
export const exchanges = [
{
id: "bittrex",
name: "Bittrex",
url: "https://global.bittrex.com/Market/Index?MarketName=BTC-DFI",
},
{
id: "bitrue",
name: "Bitrue",
Expand Down
24 changes: 0 additions & 24 deletions src/components/icons/assets/exchanges/Bittrex.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/icons/assets/exchanges/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SVGProps } from "react";
import Bittrex from "./Bittrex";
import Bitrue from "./Bitrue";
import Kucoin from "./Kucoin";
import Huobi from "./Huobi";
Expand All @@ -17,7 +16,6 @@ import Lock from "./Lock";

const mapping: Record<string, (props: SVGProps<SVGSVGElement>) => JSX.Element> =
{
Bittrex,
Bitrue,
Kucoin,
Huobi,
Expand Down
5 changes: 0 additions & 5 deletions src/layouts/components/BuyDFIButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ export function BuyDFIButton({
image: "/assets/svg/exchanges/logo-gateio.svg",
url: "https://www.gate.io/trade/DFI_USDT",
},
{
name: "Bittrex",
image: "/assets/svg/exchanges/logo-bittrex.svg",
url: "https://global.bittrex.com/Market/Index?MarketName=BTC-DFI",
},
{
name: "LATOKEN",
image: "/assets/svg/exchanges/logo-latoken.svg",
Expand Down
10 changes: 0 additions & 10 deletions src/pages/explore/dfi/_components/GetDFISectionExchanges.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ interface ExchangeItem {
export default function GetDFISectionExchanges() {
const { t } = useTranslation("page-explore-dfi");
const exchanges: ExchangeItem[] = [
{
id: "GetDFISection.Exchange.Bittrex",
name: "Bittrex",
url: "https://global.bittrex.com/Market/Index?MarketName=BTC-DFI",
},
{
id: "GetDFISection.Exchange.Bitrue",
name: "Bitrue",
Expand Down Expand Up @@ -89,11 +84,6 @@ export default function GetDFISectionExchanges() {
name: "Bake",
url: "https://bake.io/",
},
{
id: "GetDFISection.Staking.Lock",
name: "Lock",
url: "https://lock.space/",
},
];

return (
Expand Down