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 { 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} />;
|
||||
}
|
||||
Reference in new issue
Block a user