- Fix seed-products.ts TS error (implicit any) and BOM handling - Re-run full seed to restore correct Persian encoding in DB - Fix productService query→search param mismatch - Fix IngredientWiki hardcoded port 4000→use settingsStore - Restore seed-products-data.json from git after accidental corruption
14 lines
571 B
TypeScript
14 lines
571 B
TypeScript
import SearchResultsPage from "../../components/SearchResultsPage";
|
|
import type { Metadata } from 'next';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'جستجوی محصولات',
|
|
description: 'جستجوی مکملهای درمانی حیوانات خانگی، داروها و مقالات سلامت در کانینا ایران.',
|
|
};
|
|
|
|
export default async function SearchPage({ searchParams }: { searchParams: Promise<{ q?: string }> }) {
|
|
const params = await searchParams;
|
|
const query = params.q || "";
|
|
return <SearchResultsPage query={query} />;
|
|
}
|