website refactor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { notFound, redirect } from 'next/navigation';
|
||||
import { DashboardPageQuery } from '@/lib/page-queries/DashboardPageQuery';
|
||||
import { DashboardTemplate } from '@/templates/DashboardTemplate';
|
||||
import { DashboardPageClient } from '@/client-wrapper/DashboardPageClient';
|
||||
import { logger } from '@/lib/infrastructure/logging/logger';
|
||||
|
||||
export default async function DashboardPage() {
|
||||
@@ -23,5 +23,5 @@ export default async function DashboardPage() {
|
||||
|
||||
// Success
|
||||
const viewData = result.unwrap();
|
||||
return <DashboardTemplate viewData={viewData} />;
|
||||
}
|
||||
return <DashboardPageClient viewData={viewData} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user