handel filter clinic and added changenumber function
This commit is contained in:
@@ -9,14 +9,14 @@ import Tabs from "@/app/component/Tabs";
|
||||
|
||||
const listTab = ["درباره کلینیک", "اطلاعات تماس", "پزشک ها"];
|
||||
|
||||
function ClinicPage({ data, doctors }) {
|
||||
function ClinicPage({ data, doctors,slug }) {
|
||||
const [value, setValue] = useState(0);
|
||||
const handleChange = (_, newValue) => setValue(newValue);
|
||||
|
||||
const Components = [
|
||||
<About data={data} />,
|
||||
<Contact data={data} />,
|
||||
<Doctors doctors={doctors} />,
|
||||
<Doctors doctors={doctors} slug={slug} />,
|
||||
];
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user