fix: linting cleanup, TS errors, mobile cookie banner and hero max-width
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
'use client';
|
||||
|
||||
import { useState } from 'react';
|
||||
import { Wrench, Zap, Info, Clock, Check, AlertTriangle, Phone, CheckCircle2 } from 'lucide-react';
|
||||
import Link from 'next/link';
|
||||
import { Wrench, Zap, Check, AlertTriangle, Phone, CheckCircle2 } from 'lucide-react';
|
||||
import { companyDetails } from '@/content/company';
|
||||
import { submitAwariaForm } from '@/app/zgloszenie-awarii/actions';
|
||||
import { getRecaptchaToken } from '@/lib/getRecaptchaToken';
|
||||
@@ -127,6 +126,7 @@ export function AwariaClient() {
|
||||
setIsSubmitting(true);
|
||||
|
||||
const recaptchaToken = await getRecaptchaToken('submit');
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const formDataObj: any = {
|
||||
isUrgent,
|
||||
brand,
|
||||
|
||||
Reference in New Issue
Block a user