From 38b2d11a38135034f2dcf7287423da2153d0ea97 Mon Sep 17 00:00:00 2001 From: Govard Barkhatov Date: Wed, 14 Aug 2024 16:11:57 +0200 Subject: [PATCH 1/2] remove create fp --- .../FinalityProviders/FinalityProviders.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/app/components/Staking/FinalityProviders/FinalityProviders.tsx b/src/app/components/Staking/FinalityProviders/FinalityProviders.tsx index 791b1a2c..e9bbecbb 100644 --- a/src/app/components/Staking/FinalityProviders/FinalityProviders.tsx +++ b/src/app/components/Staking/FinalityProviders/FinalityProviders.tsx @@ -6,8 +6,8 @@ import { } from "@/app/components/Loading/Loading"; import { QueryMeta } from "@/app/types/api"; import { FinalityProvider as FinalityProviderInterface } from "@/app/types/finalityProviders"; -import { getNetworkConfig } from "@/config/network.config"; -import { Network } from "@/utils/wallet/wallet_provider"; +// import { getNetworkConfig } from "@/config/network.config"; +// import { Network } from "@/utils/wallet/wallet_provider"; import { FinalityProvider } from "./FinalityProvider"; @@ -31,14 +31,16 @@ export const FinalityProviders: React.FC = ({ return ; } - const network = getNetworkConfig().network; - const createFinalityProviderLink = `https://github.com/babylonlabs-io/networks/tree/main/${ - network == Network.MAINNET ? "bbn-1" : "bbn-test-4" - }/finality-providers`; + // TODO: Uncomment when finality provider creation is enabled + // const network = getNetworkConfig().network; + // const createFinalityProviderLink = `https://github.com/babylonlabs-io/networks/tree/main/${ + // network == Network.MAINNET ? "bbn-1" : "bbn-test-4" + // }/finality-providers`; return ( <>

- Select a finality provider or{" "} + Select a finality provider + {/* or{" "} = ({ className="sublink text-primary hover:underline" > create your own - + */} .

From 265e7a3489a1cc47adc335c6184aaa565a9f183a Mon Sep 17 00:00:00 2001 From: Govard Barkhatov Date: Wed, 14 Aug 2024 16:22:29 +0200 Subject: [PATCH 2/2] rm fp --- .../FinalityProviders/FinalityProviders.tsx | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/src/app/components/Staking/FinalityProviders/FinalityProviders.tsx b/src/app/components/Staking/FinalityProviders/FinalityProviders.tsx index e9bbecbb..95e3cd45 100644 --- a/src/app/components/Staking/FinalityProviders/FinalityProviders.tsx +++ b/src/app/components/Staking/FinalityProviders/FinalityProviders.tsx @@ -6,8 +6,6 @@ import { } from "@/app/components/Loading/Loading"; import { QueryMeta } from "@/app/types/api"; import { FinalityProvider as FinalityProviderInterface } from "@/app/types/finalityProviders"; -// import { getNetworkConfig } from "@/config/network.config"; -// import { Network } from "@/utils/wallet/wallet_provider"; import { FinalityProvider } from "./FinalityProvider"; @@ -31,26 +29,9 @@ export const FinalityProviders: React.FC = ({ return ; } - // TODO: Uncomment when finality provider creation is enabled - // const network = getNetworkConfig().network; - // const createFinalityProviderLink = `https://github.com/babylonlabs-io/networks/tree/main/${ - // network == Network.MAINNET ? "bbn-1" : "bbn-test-4" - // }/finality-providers`; return ( <> -

- Select a finality provider - {/* or{" "} - - create your own - */} - . -

+

Select a finality provider.

Finality Provider

BTC PK