refactor: extract Kabelueberwachung logic into KabelueberwachungView for better structure
This commit is contained in:
@@ -1,13 +1,4 @@
|
||||
// pages/dashboard.tsx
|
||||
|
||||
import React from "react";
|
||||
import dynamic from "next/dynamic";
|
||||
|
||||
// Dynamisches Importieren der eigentlichen UI-Komponente
|
||||
const DashboardView = dynamic(
|
||||
() => import("@/components/main/dashboard/DashboardView"),
|
||||
{ ssr: false }
|
||||
);
|
||||
import DashboardView from "@/components/main/dashboard/DashboardView";
|
||||
|
||||
export default function DashboardPage() {
|
||||
return <DashboardView />;
|
||||
|
||||
Reference in New Issue
Block a user