Skip to content

Commit d4250ec

Browse files
authored
Merge pull request #72 from include-davis/71-contact-page-text-fix
Remove hours CMS text from contact page
2 parents 4e33ccc + 2033689 commit d4250ec

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

app/(pages)/contact-us/page.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export async function getContactUsGeneralInfo() {
1919
const contents = data.body[0];
2020
const parsedData = {
2121
address: contents.address,
22-
hours: contents.hours,
2322
apptInstructions: contents.appointment_instruction,
2423
};
2524
console.log(parsedData);
@@ -30,7 +29,6 @@ export async function getContactUsGeneralInfo() {
3029
);
3130
return {
3231
address: ContactUsGeneralInfoFallbackData.address,
33-
hours: ContactUsGeneralInfoFallbackData.hours,
3432
apptInstructions:
3533
ContactUsGeneralInfoFallbackData.appointment_instruction,
3634
};
@@ -71,7 +69,6 @@ export default async function ContactUs() {
7169
</div>
7270
<div className={styles.textInfo}>
7371
<h4>{generalData.apptInstructions}</h4>
74-
<h4>{generalData.hours}</h4>
7572
</div>
7673
</div>
7774
</section>

0 commit comments

Comments
 (0)