mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +02:00
♻️ Remove redundant pay wall dialog (#1575)
This commit is contained in:
parent
5d9e14b94e
commit
41459f6189
1 changed files with 17 additions and 20 deletions
|
@ -6,7 +6,6 @@ import { MobileNavigation } from "@/app/[locale]/(admin)/mobile-navigation";
|
|||
import { ProBadge } from "@/app/[locale]/(admin)/pro-badge";
|
||||
import { Sidebar } from "@/app/[locale]/(admin)/sidebar";
|
||||
import { LogoLink } from "@/app/components/logo-link";
|
||||
import { PayWallDialog } from "@/components/pay-wall-dialog";
|
||||
import { createSSRHelper } from "@/trpc/server/create-ssr-helper";
|
||||
|
||||
export default async function Layout({
|
||||
|
@ -19,7 +18,6 @@ export default async function Layout({
|
|||
const dehydratedState = dehydrate(helpers.queryClient);
|
||||
return (
|
||||
<Hydrate state={dehydratedState}>
|
||||
<PayWallDialog>
|
||||
<div className="flex flex-col pb-16 md:pb-0">
|
||||
<div
|
||||
className={cn(
|
||||
|
@ -39,7 +37,6 @@ export default async function Layout({
|
|||
<MobileNavigation />
|
||||
</div>
|
||||
</div>
|
||||
</PayWallDialog>
|
||||
</Hydrate>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue