mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-07 14:22:38 +02:00
upgrade to next.js 15
This commit is contained in:
parent
8096eaf63b
commit
3b72de5df4
61 changed files with 5344 additions and 11135 deletions
|
|
@ -4,13 +4,14 @@ import { redirect } from "next/navigation";
|
|||
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
export default async function Page({
|
||||
searchParams,
|
||||
}: {
|
||||
searchParams: {
|
||||
redirect: string;
|
||||
export default async function Page(
|
||||
props: {
|
||||
searchParams: Promise<{
|
||||
redirect: string;
|
||||
}>
|
||||
}
|
||||
}) {
|
||||
) {
|
||||
const searchParams = await props.searchParams;
|
||||
const customer = await requireBillingCustomer();
|
||||
await syncWithStripe(customer._id);
|
||||
const redirectUrl = searchParams.redirect as string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue