From ea75e8974d0c4045af523883172a2b8217b296d7 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Wed, 16 Jun 2021 13:44:25 +0100 Subject: [PATCH] added getinitialprops --- pages/settings/billing.tsx | 82 ++++++++++++++++++++++++++++---------- 1 file changed, 61 insertions(+), 21 deletions(-) diff --git a/pages/settings/billing.tsx b/pages/settings/billing.tsx index 3fbbb226..666b350c 100644 --- a/pages/settings/billing.tsx +++ b/pages/settings/billing.tsx @@ -1,26 +1,66 @@ import Head from 'next/head'; import Shell from '../../components/Shell'; import SettingsShell from '../../components/Settings'; +import prisma from '../../lib/prisma'; +import {getSession, useSession} from 'next-auth/client'; -export default function Billing() { - return( - - - Billing | Calendso - - -
-
-

Change your Subscription

-

- Cancel, update credit card or change plan -

-
-
-