Merge branch 'master' of github.com:lissy93/web-check

This commit is contained in:
Alicia Sykes 2023-07-17 23:07:21 +01:00
commit 8878062d2a

View File

@ -55,7 +55,7 @@ const Home = (): JSX.Element => {
/* Check is valid address, either show err or redirect to results page */
const submit = () => {
let address = userInput;
let address = userInput.endsWith("/") ? userInput.slice(0, -1) : userInput;
const addressType = determineAddressType(address);
if (addressType === 'empt') {