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 {
|
||||
getConfig,
|
||||
getGuilds,
|
||||
@@ -28,13 +27,11 @@ export default async function MessagesPage() {
|
||||
/* client hooks surface errors */
|
||||
}
|
||||
return (
|
||||
<PageTransition>
|
||||
<MessagesView
|
||||
initialGuilds={guilds}
|
||||
initialGuildId={config?.monitorGuildId ?? null}
|
||||
initialMessages={initialMessages}
|
||||
initialEdits={initialEdits}
|
||||
/>
|
||||
</PageTransition>
|
||||
<MessagesView
|
||||
initialGuilds={guilds}
|
||||
initialGuildId={config?.monitorGuildId ?? null}
|
||||
initialMessages={initialMessages}
|
||||
initialEdits={initialEdits}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user