fix: clean folder
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
// Component Imports
|
||||
import AcademyDashboard from '../../apps/academy/dashboard/page'
|
||||
|
||||
const DashboardAcademy = async () => {
|
||||
return <AcademyDashboard />
|
||||
}
|
||||
|
||||
export default DashboardAcademy
|
||||
@@ -13,9 +13,6 @@ import MonthlyCampaignState from '@views/dashboards/analytics/MonthlyCampaignSta
|
||||
import SourceVisits from '@views/dashboards/analytics/SourceVisits'
|
||||
import ProjectsTable from '@views/dashboards/analytics/ProjectsTable'
|
||||
|
||||
// Data Imports
|
||||
import { getProfileData } from '@/app/server/actions'
|
||||
|
||||
/**
|
||||
* ! If you need data using an API call, uncomment the below API code, update the `process.env.API_URL` variable in the
|
||||
* ! `.env` file found at root of your project and also update the API endpoints like `/pages/profile` in below example.
|
||||
@@ -35,8 +32,6 @@ import { getProfileData } from '@/app/server/actions'
|
||||
} */
|
||||
|
||||
const DashboardAnalytics = async () => {
|
||||
// Vars
|
||||
const data = await getProfileData()
|
||||
|
||||
return (
|
||||
<Grid container spacing={6}>
|
||||
@@ -68,7 +63,7 @@ const DashboardAnalytics = async () => {
|
||||
<SourceVisits />
|
||||
</Grid>
|
||||
<Grid size={{ xs: 12, lg: 8 }}>
|
||||
<ProjectsTable projectTable={data?.users.profile.projectTable} />
|
||||
<ProjectsTable projectTable={[]} />
|
||||
</Grid>
|
||||
</Grid>
|
||||
)
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
import LogisticsDashboard from '../../apps/logistics/dashboard/page'
|
||||
|
||||
const DashboardLogistics = () => {
|
||||
return <LogisticsDashboard />
|
||||
}
|
||||
|
||||
export default DashboardLogistics
|
||||
Reference in New Issue
Block a user