Skip to content

Commit 12ec432

Browse files
committed
fix
1 parent 3164afe commit 12ec432

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/src/pages/tickets/business.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const getServerSideProps: GetServerSideProps = async ({
6767
console.debug("User not logged in");
6868
}
6969

70-
const cartCookie = req.cookies["tickets-cart-v6"];
70+
const cartCookie = req.cookies["tickets-cart-v6"] ?? null;
7171
return addApolloState(
7272
client,
7373
{

frontend/src/pages/tickets/checkout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const getServerSideProps: GetServerSideProps = async ({
6262
};
6363
}
6464

65-
const cartCookie = req.cookies["tickets-cart-v6"];
65+
const cartCookie = req.cookies["tickets-cart-v6"] ?? null;
6666
return addApolloState(
6767
client,
6868
{

frontend/src/pages/tickets/personal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const getServerSideProps: GetServerSideProps = async ({
6767
console.debug("User not logged in");
6868
}
6969

70-
const cartCookie = req.cookies["tickets-cart-v6"];
70+
const cartCookie = req.cookies["tickets-cart-v6"] ?? null;
7171
return addApolloState(
7272
client,
7373
{

0 commit comments

Comments
 (0)