From ce99b33cb96f132550ae7a52ef8065f2fd3c2717 Mon Sep 17 00:00:00 2001 From: Tom Beynon Date: Tue, 31 Oct 2023 17:51:16 +0000 Subject: [PATCH] Handle uppercase network name in URL --- src/components/NetworkFinder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/NetworkFinder.js b/src/components/NetworkFinder.js index ad618238..fca4664b 100644 --- a/src/components/NetworkFinder.js +++ b/src/components/NetworkFinder.js @@ -174,7 +174,7 @@ function NetworkFinder() { useEffect(() => { if (Object.keys(state.networks).length && (!state.network || state.network.path !== params.network)) { - let networkName = params.network + let networkName = params.network?.toLowerCase() const network = state.networks[networkName] if (!network) { navigate("/");