diff --git a/components/ScriptItem.tsx b/components/ScriptItem.tsx index 46a18d7..4149002 100644 --- a/components/ScriptItem.tsx +++ b/components/ScriptItem.tsx @@ -101,6 +101,13 @@ function ScriptItem({ if (amountOfScriptsCopied === null) { localStorage.setItem("amountOfScriptsCopied", "1"); + setTimeout(() => { + toast.error( + "be careful when copying scripts from the internet. Always remember check the source!", + { duration: 8000 }, + ); + } + , 500); } else { amountOfScriptsCopied = (parseInt(amountOfScriptsCopied) + 1).toString(); localStorage.setItem("amountOfScriptsCopied", amountOfScriptsCopied); @@ -299,7 +306,7 @@ function ScriptItem({
{item.website && ( - )} {item.documentation && ( - )} {item.post_install && ( - )} {sourceUrl && ( -