Fix build errors: add typed params, use client tags, and Docker build args

This commit is contained in:
2026-04-14 12:39:22 +03:00
parent 8b1bdfd3c6
commit 429495a955
5 changed files with 34 additions and 7 deletions

View File

@@ -1,6 +1,14 @@
'use client';
import { use } from 'react';
import { useTranslations } from 'next-intl';
export default function ContactPage() {
interface PageProps {
params: Promise<{ locale: string }>;
}
export default function ContactPage({ params }: PageProps) {
const { locale: _locale } = use(params);
const t = useTranslations('Contact');
return (
<div className="pt-40 pb-24 px-6 md:px-24 min-h-screen bg-surface">