diff --git a/docs/site/src/components/NetworkInfo/index.tsx b/docs/site/src/components/NetworkInfo/index.tsx index 748d8638105..b87de0f6d92 100644 --- a/docs/site/src/components/NetworkInfo/index.tsx +++ b/docs/site/src/components/NetworkInfo/index.tsx @@ -35,13 +35,13 @@ function L1(props: NetworkProps) { {props.permaNodeApi} - {props.faucet && ( + {props.faucetUrl && ( Faucet - - {props.faucet} - + + {props.faucetUrl} + )} @@ -81,13 +81,13 @@ function Testnet(props: NetworkProps) { {props.permaNodeApi} - {props.faucet && ( + {props.faucetUrl && ( Faucet - - {props.faucet} - + + {props.faucetUrl} + )} @@ -127,13 +127,13 @@ function Devnet(props: NetworkProps) { {props.permaNodeApi} - {props.faucet && ( + {props.faucetUrl && ( Faucet - - {props.faucet} - + + {props.faucetUrl} + )} @@ -294,13 +294,13 @@ function Move(props: MoveProps) { {props.jsonRpcWebsocketUrl} - {props.faucet && ( + {props.faucetUrl && ( Faucet URL - + {props.faucetUrl} - + )} diff --git a/docs/site/src/components/constant.tsx b/docs/site/src/components/constant.tsx index 29c2a6f899c..e77d80b14e7 100644 --- a/docs/site/src/components/constant.tsx +++ b/docs/site/src/components/constant.tsx @@ -216,7 +216,7 @@ export interface NetworkProps { httpRestApi: string; eventApi: string; permaNodeApi: string; - faucet?: string; + faucetUrl?: string; explorer: string; evm: AddEthereumChainParameter; evmCustom: {