reafactor
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import { Metadata } from 'next';
|
||||
import { Suspense } from 'react';
|
||||
import ProtectionOverview from '@/app/ui/dashboard/protection-overview';
|
||||
import StatsGrid from '@/app/ui/dashboard/stats-grid';
|
||||
import { useTranslations } from 'next-intl';
|
||||
import FilesTable from '@/app/ui/dashboard/files-table';
|
||||
import PageTitle from '@/app/ui/page-title';
|
||||
@@ -23,8 +21,7 @@ export default function Page() {
|
||||
|
||||
return (
|
||||
<Suspense fallback={<>...</>}>
|
||||
<PageTitle title="statistics">
|
||||
</PageTitle>
|
||||
<PageTitle title="statistics" />
|
||||
<DashboardUserStats />
|
||||
<div className="dashboard-main-grid">
|
||||
<div className="left-column">
|
||||
|
||||
@@ -16,8 +16,7 @@ export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<Suspense fallback={<>...</>}>
|
||||
<PageTitle title="statistics">
|
||||
</PageTitle>
|
||||
<PageTitle title="statistics" />
|
||||
<div className="split-blocks">
|
||||
<ProtectionOverview />
|
||||
<StatsGrid />
|
||||
|
||||
@@ -13,8 +13,7 @@ export default function Page() {
|
||||
|
||||
return (
|
||||
<Suspense fallback={<>...</>}>
|
||||
<PageTitle title="refferal-program">
|
||||
</PageTitle>
|
||||
<PageTitle title="refferal-program" />
|
||||
<ReferralStats />
|
||||
<ReferralLinkSection />
|
||||
<CommissionLevels />
|
||||
|
||||
@@ -9,8 +9,7 @@ import PageTitle from '@/app/ui/page-title';
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
<PageTitle title="reports-and-analytics">
|
||||
</PageTitle>
|
||||
<PageTitle title="reports-and-analytics" />
|
||||
<StatsGrid />
|
||||
<ActivityByContentType />
|
||||
<div className="analytics-grid">
|
||||
|
||||
@@ -13,8 +13,7 @@ export default function Page() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<PageTitle title="account-settings">
|
||||
</PageTitle>
|
||||
<PageTitle title="account-settings" />
|
||||
<div className="settings-grid">
|
||||
<PersonalDataSettings />
|
||||
<NotificationsMonitoringSettings />
|
||||
|
||||
Reference in New Issue
Block a user