refactor: remove unnecessary PageTransition wrappers from dashboard pages

This commit is contained in:
asepharyana committed 2026-08-26 15:49:58 +07:00
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 { getGlossary } from "@/lib/api/server";
import type { GlossaryRow } from "@/lib/types";
import { GlossaryView } from "./view";
@@ -12,9 +11,5 @@ export default async function GlossaryPage() {
} catch {
terms = undefined;
}
return (
<PageTransition>
<GlossaryView initialTerms={terms} />
</PageTransition>
);
return <GlossaryView initialTerms={terms} />;
}