Skip to content

Commit

Permalink
Merge branch 'main' into feature/demo-user
Browse files Browse the repository at this point in the history
  • Loading branch information
ad956 committed Aug 10, 2024
2 parents d3463fc + a3abf28 commit a2f97e2
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions app/(pages)/admin/settings/page.tsx
Original file line number Diff line number Diff line change
@@ -1,29 +1,9 @@
import { Patient } from "@types";
import { getPatientData } from "@lib/patient";
import { Admin } from "@types";
import getAdminData from "@lib/admin/getAdminData";
import ProfileSettings from "@components/ProfileSettings";

export default async function Settings() {
// const patient: Patient = await getPatientData();
const admin = {
_id: "1",
firstname: "Admin",
lastname: "Kumar",
username: "admin",
email: "[email protected]",
dob: "1996-05-16",
gender: "Male",
contact: "7097654537",
profile:
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQVWLkd22f1fiO-xt_Jcu1I3Bq56Gu4mNdWPg&s",
address: {
address_line_1: "F 310 Wisteria Heights",
address_line_2: "Waghodia Daboi Ring Road",
city: "Vadodara",
state: "Gujarat",
country: "India",
zip_code: "390025",
},
};
const admin: Admin = await getAdminData();

return (
<section className="h-screen w-full flex flex-col">
Expand Down

0 comments on commit a2f97e2

Please sign in to comment.