feat: better error message

This commit is contained in:
amhsirak
2025-06-26 22:42:50 +05:30
parent c2512d4c55
commit ab09cddf70

View File

@@ -40,7 +40,7 @@ export const UrlForm = ({
lastSubmittedRef.current = url; // Update the last submitted URL lastSubmittedRef.current = url; // Update the last submitted URL
} catch (e) { } catch (e) {
//alert(`ERROR: ${url} is not a valid url!`); //alert(`ERROR: ${url} is not a valid url!`);
console.log(e) console.log(`Failed to submit form:`,e)
} }
}, [setCurrentAddress]); }, [setCurrentAddress]);