Added 404 page + Improvements.

This commit is contained in:
Daniel
2022-06-06 08:28:03 +04:30
parent 32cb7e80c8
commit ac73f4fe09
6 changed files with 40 additions and 13 deletions
+3
View File
@@ -34,6 +34,9 @@ const addItem = async (name, link, tag, reFetch, onExit, SetLoader, method, id=n
.then(() => {SetLoader(false)});
onExit();
} else if(name === '' && link === '') {
onExit()
SetLoader(false)
} else {
SetLoader(false)
alert('Please make sure the link is valid.\n\n(i.e. starts with "http"/"https")');