feat(specialties): enhance specialties components to include city and state names in metadata and links
This commit is contained in:
@@ -20,10 +20,14 @@ export async function generateMetadata() {
|
||||
}
|
||||
|
||||
async function Specialties() {
|
||||
const { matchedCity } = await getStateInfo();
|
||||
const { matchedCity, matchedState } = await getStateInfo();
|
||||
return (
|
||||
<Layout name="/specialties">
|
||||
<SpecialtiesPage cityId={matchedCity?.id ?? null} />
|
||||
<SpecialtiesPage
|
||||
cityId={matchedCity?.id ?? null}
|
||||
cityName={matchedCity?.name ?? null}
|
||||
stateName={matchedState?.name ?? null}
|
||||
/>
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user