fix: avoid sending query params to planet

This commit is contained in:
Christel Westerberg
2024-11-19 09:57:54 +01:00
parent 7221e77fa0
commit 3a6cfcfe5c
16 changed files with 227 additions and 114 deletions

View File

@@ -0,0 +1,16 @@
import { notFound } from "next/navigation"
import { env } from "@/env/server"
import styles from "./layout.module.css"
import { LangParams, LayoutArgs } from "@/types/params"
export default function PaymentCallbackLayout({
children,
}: React.PropsWithChildren<LayoutArgs<LangParams>>) {
if (env.HIDE_FOR_NEXT_RELEASE) {
return notFound()
}
return <div className={styles.layout}>{children}</div>
}