From aeb26b89c59d00f20d2cb926ce240e91b7ca75b4 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 12 Oct 2020 14:39:42 +0200 Subject: [PATCH] remove marketFeeAmount config --- .env.example | 1 - app.config.js | 1 - src/components/molecules/FormFields/Price/Fees.tsx | 2 +- src/hooks/useSiteMetadata.ts | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 35bfb7519..522ddf76c 100644 --- a/.env.example +++ b/.env.example @@ -4,4 +4,3 @@ GATSBY_NETWORK="rinkeby" #GATSBY_INFURA_PROJECT_ID="xxx" #GATSBY_METADATA_STORE_URI="xxx" #GATSBY_MARKET_FEE_ADDRESS="0xxx" -#GATSBY_MARKET_FEE_AMOUNT="xxx" \ No newline at end of file diff --git a/app.config.js b/app.config.js index baa5e50ab..e100acf23 100644 --- a/app.config.js +++ b/app.config.js @@ -6,7 +6,6 @@ module.exports = { marketFeeAddress: process.env.GATSBY_MARKET_FEE_ADDRESS || '0x903322C7E45A60d7c8C3EA236c5beA9Af86310c7', - marketFeeAmount: process.env.GATSBY_MARKET_FEE_AMOUNT || '0.1', // in % // Used for conversion display, can be whatever coingecko API supports // see: https://api.coingecko.com/api/v3/simple/supported_vs_currencies currencies: ['EUR', 'USD', 'ETH', 'BTC'] diff --git a/src/components/molecules/FormFields/Price/Fees.tsx b/src/components/molecules/FormFields/Price/Fees.tsx index 9028f2705..5537ea38a 100644 --- a/src/components/molecules/FormFields/Price/Fees.tsx +++ b/src/components/molecules/FormFields/Price/Fees.tsx @@ -55,7 +55,7 @@ export default function Fees({ } - value={appConfig.marketFeeAmount} + value="0.1" name="marketplaceFee" postfix="%" readOnly diff --git a/src/hooks/useSiteMetadata.ts b/src/hooks/useSiteMetadata.ts index 10b599516..b5de81125 100644 --- a/src/hooks/useSiteMetadata.ts +++ b/src/hooks/useSiteMetadata.ts @@ -17,7 +17,6 @@ const query = graphql` infuraProjectId network marketFeeAddress - marketFeeAmount currencies } }