refactor: remove unnecessary PageTransition wrappers from dashboard pages
This commit is contained in:
1 parent
153e628aba
commit
37d15456dc
9 files changed
+14
-57
No files matched your search
@@ -1,4 +1,3 @@
|
||||
import { PageTransition } from "@/components/shared";
|
||||
import { getActivity, getDashboardStats } from "@/lib/api/server";
|
||||
import { DashboardView } from "./view";
|
||||
|
||||
@@ -15,9 +14,5 @@ export default async function DashboardPage() {
|
||||
} catch {
|
||||
// Backend unavailable — client hooks will surface the error state.
|
||||
}
|
||||
return (
|
||||
<PageTransition>
|
||||
<DashboardView initialStats={stats} initialActivity={activity} />
|
||||
</PageTransition>
|
||||
);
|
||||
return <DashboardView initialStats={stats} initialActivity={activity} />;
|
||||
}
|
||||
Reference in new issue
Block a user