From eaa328bcf2c6218d23ddbd03297cb1113c969922 Mon Sep 17 00:00:00 2001 From: cryptohazard Date: Sat, 26 Aug 2023 00:38:46 +0200 Subject: [PATCH] prepare frontend for thalex --- frontend/src/api/queries.ts | 2 +- frontend/src/const/filter_presets.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/api/queries.ts b/frontend/src/api/queries.ts index a53b949e..f0378ec9 100644 --- a/frontend/src/api/queries.ts +++ b/frontend/src/api/queries.ts @@ -4,7 +4,7 @@ // SPDX-License-Identifier: MIT const classicOptionsQuery = `{ - rows(providers: ["Delta Exchange", "Deribit","Lyra::Arbitrum", "Lyra::Optimism", "Synquote", "Zeta"]) { + rows(providers: ["Delta Exchange", "Deribit", "Thalex", "Lyra::Arbitrum", "Lyra::Optimism", "Synquote", "Zeta"]) { date expiry provider diff --git a/frontend/src/const/filter_presets.ts b/frontend/src/const/filter_presets.ts index 92210bf7..3b3b6b62 100644 --- a/frontend/src/const/filter_presets.ts +++ b/frontend/src/const/filter_presets.ts @@ -32,7 +32,7 @@ const filterPresets: Record = { }, 'CEXes': { assets: { 'defaultValue': true }, - providers: { 'defaultValue': false, 'Deribit': true, 'Delta Exchange': true } + providers: { 'defaultValue': false, 'Deribit': true, 'Delta Exchange': true, 'Thalex': true } }, 'DEXes': { assets: { 'defaultValue': true }, @@ -53,14 +53,14 @@ const filterPresets: Record = { 'SOL': { assets: { 'defaultValue': false, 'SOL': true }, providers: { 'defaultValue': true }, - },//TODO separate L1 & L2 + }, 'L1 tokens': { assets: { 'defaultValue': false, 'BTC': true, 'ETH': true, 'SOL': true, 'TRX': true, 'LTC': true, 'BNB': true, }, providers: { 'defaultValue': true }, - },//TODO separate L1 & L2 + }, 'L2 tokens': { assets: { 'defaultValue': false,