20 lines
443 B
JavaScript
20 lines
443 B
JavaScript
import DoctorsPage from "@/components/doctors";
|
|
import Layout from "@/components/layout/StLayout";
|
|
import { getStateInfo } from "@/lib/getStateInfo";
|
|
|
|
function Doctors({ searchParams }) {
|
|
const { matchedCity, matchedState } = getStateInfo();
|
|
|
|
return (
|
|
<Layout>
|
|
<DoctorsPage
|
|
params={searchParams}
|
|
matchedCity={matchedCity}
|
|
matchedState={matchedState}
|
|
/>
|
|
</Layout>
|
|
);
|
|
}
|
|
|
|
export default Doctors;
|