Skip to content

Commit

Permalink
chore(ops): remove bittrex and lock (#729)
Browse files Browse the repository at this point in the history
* chore(ops): remove lock space

* remove bittrex

* fix lint
  • Loading branch information
pierregee authored Nov 22, 2023
1 parent 39c3827 commit 5623287
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 48 deletions.
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

0 comments on commit 5623287

Please sign in to comment.