From 3421af10a9dbb9beb2227f51e1da76e64055e15c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20L=C3=B3pez?= Date: Mon, 16 May 2022 12:36:26 -0600 Subject: [PATCH] Apply suggestions from code review --- apps/web/pages/apps/categories/[category].tsx | 2 +- apps/web/pages/success.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/web/pages/apps/categories/[category].tsx b/apps/web/pages/apps/categories/[category].tsx index 034155d54c..9a5e894cc9 100644 --- a/apps/web/pages/apps/categories/[category].tsx +++ b/apps/web/pages/apps/categories/[category].tsx @@ -85,7 +85,7 @@ export const getStaticProps = async (context: GetStaticPropsContext) => { return { props: { - apps: apps, + apps, }, }; }; diff --git a/apps/web/pages/success.tsx b/apps/web/pages/success.tsx index b8503f8c10..a995fd51b3 100644 --- a/apps/web/pages/success.tsx +++ b/apps/web/pages/success.tsx @@ -641,7 +641,6 @@ export async function getServerSideProps(context: GetServerSidePropsContext) { const dynamicEventName = asStringOrNull(context.query.eventName) ?? ""; if (typeof context.query.bookingId !== "string") return { notFound: true } as const; const bookingId = parseInt(context.query.bookingId); - //http://localhost:3000/success?date=2022-06-02T02%3A00%3A00-06%3A00&type=5&user=pro&name=Stripe%20Stripeson if (isNaN(typeId)) { return {