Fix build errors: add typed params, use client tags, and Docker build args
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user