fix: clean folder
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
// Component Imports
|
||||
import UserList from '@views/apps/user/list'
|
||||
|
||||
// Data Imports
|
||||
import { getUserData } 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 `/apps/user-list` in below example.
|
||||
@@ -23,10 +20,8 @@ import { getUserData } from '@/app/server/actions'
|
||||
} */
|
||||
|
||||
const UserListApp = async () => {
|
||||
// Vars
|
||||
const data = await getUserData()
|
||||
|
||||
return <UserList userData={data} />
|
||||
return <UserList userData={[]} />
|
||||
}
|
||||
|
||||
export default UserListApp
|
||||
|
||||
@@ -14,9 +14,6 @@ import type { PricingPlanType } from '@/types/pages/pricingTypes'
|
||||
import UserLeftOverview from '@views/apps/user/view/user-left-overview'
|
||||
import UserRight from '@views/apps/user/view/user-right'
|
||||
|
||||
// Data Imports
|
||||
import { getPricingData } from '@/app/server/actions'
|
||||
|
||||
const OverViewTab = dynamic(() => import('@views/apps/user/view/user-right/overview'))
|
||||
const SecurityTab = dynamic(() => import('@views/apps/user/view/user-right/security'))
|
||||
const BillingPlans = dynamic(() => import('@views/apps/user/view/user-right/billing-plans'))
|
||||
@@ -51,16 +48,13 @@ const tabContentList = (data?: PricingPlanType[]): { [key: string]: ReactElement
|
||||
} */
|
||||
|
||||
const UserViewTab = async () => {
|
||||
// Vars
|
||||
const data = await getPricingData()
|
||||
|
||||
return (
|
||||
<Grid container spacing={6}>
|
||||
<Grid size={{ xs: 12, lg: 4, md: 5 }}>
|
||||
<UserLeftOverview />
|
||||
</Grid>
|
||||
<Grid size={{ xs: 12, lg: 8, md: 7 }}>
|
||||
<UserRight tabContentList={tabContentList(data)} />
|
||||
<UserRight tabContentList={tabContentList([])} />
|
||||
</Grid>
|
||||
</Grid>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user