install and handle casle & prevent page dashboard & handle register and code verfication & get data in clinics page

This commit is contained in:
Ehsan
2025-05-27 03:40:06 +03:30
parent a9f98aea3b
commit d95815d4aa
27 changed files with 336 additions and 206 deletions
@@ -36,8 +36,7 @@ function ContentTabs({
const [tab, setTab] = useState(0);
const data = profileData[0];
const handleChange = (event, newValue) => {
// setValue(newValue);
const handleChange = (_, newValue) => {
setTab(newValue);
};
@@ -48,16 +47,6 @@ function ContentTabs({
}, []);
const components = [
// <DetailUser user={user} />,
// <Turns
// user={user}
// loading={loading}
// setIsTurnsDetails={setIsTurnsDetails}
// />,
// <Transactions user={user} loading={loading} />,
// <Comments user={user} loading={loading} />,
// <Messages user={user} loading={loading} />,
// <NotfoundDashboard />,
<Disease data={data} />,
<Allergies data={data} />,
<Medications data={data} />,