fix: linting cleanup, TS errors, mobile cookie banner and hero max-width

This commit is contained in:
MichalC
2026-08-01 12:27:14 +02:00
parent 02cb49e180
commit 88cb4c516d
49 changed files with 167 additions and 125 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ export default async function MultisplitInquiryPage({ params }: Props) {
const product = getProductBySlug(slug);
if (!product || product.category !== 'multisplit') notFound();
const specIcons: Record<string, any> = {
const specIcons: Record<string, React.ElementType> = {
'Moc chłodnicza': Zap,
'Moc grzewcza': Thermometer,
'Głośność wewnętrzna (dB)': Volume2,
+2 -1
View File
@@ -18,7 +18,8 @@ const multisplitFormSchema = z.object({
productSku: z.string(),
});
export async function submitMultisplitForm(data: any) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export async function submitMultisplitForm(data: Record<string, any>) {
try {
if (process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY && process.env.RECAPTCHA_SECRET_KEY) {
if (!data.recaptchaToken) {