add prettier formatter to all file

This commit is contained in:
Ehsan
2024-09-25 11:03:44 +03:30
parent fa38ee2b21
commit eda896e917
410 changed files with 47636 additions and 43842 deletions
+8 -9
View File
@@ -1,16 +1,15 @@
import DoctorPage from "@/components/doctor";
import doctors from '@/data/doctors.json';
import doctors from "@/data/doctors.json";
import Layout from "@/components/layout";
function Doctor({ params: { slug } }) {
const doctor = doctors.find((item) => item.id === +slug);
const doctor = doctors.find(item => item.id === +slug);
return (
<Layout title='دکتر ها'>
<DoctorPage doctor={doctor} />
</Layout>
)
return (
<Layout title="دکتر ها">
<DoctorPage doctor={doctor} />
</Layout>
);
}
export default Doctor
export default Doctor;