This commit is contained in:
Timothy Jaeryang Baek committed 2025-12-21 18:08:36 +04:00
1 parent 7746e9f4b8
commit c96549eaa7
7 files changed
+170 -71

No files matched your search

@@ -15,12 +15,14 @@
let url = '';
const submitHandler = () => {
const urls = url
let urls = url
.split('\n')
.map((u) => u.trim())
.filter((u) => u !== '')
.filter((u) => isValidHttpUrl(u));
urls = [...new Set(urls)];
if (urls.length === 0) {
toast.error($i18n.t('Please enter a valid URL.'));
return;