From 6d6cd9ee4b01cddcb0588d7db01cd6a442e0f9ba Mon Sep 17 00:00:00 2001 From: mscno Date: Tue, 30 Jan 2024 20:14:56 +0100 Subject: [PATCH] fmt --- islands/email.tsx | 9 ++++----- routes/index.tsx | 27 ++++++++++++++------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/islands/email.tsx b/islands/email.tsx index c34e40c..3afbf11 100644 --- a/islands/email.tsx +++ b/islands/email.tsx @@ -11,13 +11,12 @@ export default function EmailIsland() { ); const data = await response.json(); setResult(JSON.stringify(data, null, 2)); - } + }; const handleCheckEmail = async (e: Event) => { e.preventDefault(); await checkEmail(email); }; - useEffect(() => { checkEmail(email); @@ -47,9 +46,9 @@ export default function EmailIsland() { required className="block w-full p-2 border border-gray-300 rounded" /> -
result automatically fetched on input update
- - +
+ result automatically fetched on input update +

Request:

diff --git a/routes/index.tsx b/routes/index.tsx index 2671c61..022fe15 100644 --- a/routes/index.tsx +++ b/routes/index.tsx @@ -4,16 +4,16 @@ import EmailIsland from "../islands/email.tsx"; export default function Home() { return (
-
- emailchecker -

- emailchecker.deno.dev -

-
+
+ emailchecker +

+ emailchecker.deno.dev +

+

API Details:

@@ -31,9 +31,10 @@ export default function Home() {

- emailchecker.deno.dev is a completely free service that allows you to check - if an email is valid or not and whether the email provider is a free - or disposable email provider. + emailchecker.deno.dev{" "} + is a completely free service that allows you to check if an email is + valid or not and whether the email provider is a free or disposable + email provider.

It is built using{" "}