mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-03-15 22:26:05 +00:00
chore: more linter errors
This commit is contained in:
@@ -14,7 +14,7 @@ export async function subscribeToNewsletterAction(email: string) {
|
||||
})
|
||||
|
||||
if (existingContacts.data) {
|
||||
const existingContact = existingContacts.data.data.find((contact: any) => contact.email === email)
|
||||
const existingContact = existingContacts.data.data.find((contact: { email: string }) => contact.email === email)
|
||||
|
||||
if (existingContact) {
|
||||
return { success: false, error: "You are already subscribed to the newsletter" }
|
||||
|
||||
@@ -34,8 +34,8 @@ export function NewsletterForm() {
|
||||
<div className="max-w-2xl mx-auto text-center">
|
||||
<h3 className="text-2xl font-semibold mb-4">Stay Tuned</h3>
|
||||
<p className="text-gray-600 mb-6">
|
||||
We're working hard on making TaxHacker useful for everyone. Subscribe to our emails to get notified about our
|
||||
plans and new features. No marketing, ads or spam.
|
||||
We're working hard on making TaxHacker useful for everyone. Subscribe to our emails to get notified about
|
||||
our plans and new features. No marketing, ads or spam.
|
||||
</p>
|
||||
<form onSubmit={handleSubmit} className="flex flex-col gap-4 max-w-md mx-auto">
|
||||
<div className="flex flex-wrap items-center justify-center gap-4">
|
||||
|
||||
Reference in New Issue
Block a user