Skip to content

Commit

Permalink
Merge pull request #64 from eco-stake/handle-uppercase-network-url
Browse files Browse the repository at this point in the history
Handle uppercase network name in URL
  • Loading branch information
tombeynon authored Nov 15, 2023
2 parents 43f2229 + ce99b33 commit ac072f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NetworkFinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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("/");
Expand Down

0 comments on commit ac072f3

Please sign in to comment.