Skip to content

Commit

Permalink
no empty block
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoacierno committed Oct 31, 2024
1 parent e38d957 commit dbeb70d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion frontend/src/pages/tickets/business.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export const getServerSideProps: GetServerSideProps = async ({
await queryCurrentUser(client, {
conference: process.env.conferenceCode,
});
} catch (e) {}
} catch (e) {
console.debug("User not logged in");
}

const cartCookie = req.cookies["tickets-cart-v6"];
return addApolloState(
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/pages/tickets/personal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export const getServerSideProps: GetServerSideProps = async ({
await queryCurrentUser(client, {
conference: process.env.conferenceCode,
});
} catch (e) {}
} catch (e) {
console.debug("User not logged in");
}

const cartCookie = req.cookies["tickets-cart-v6"];
return addApolloState(
Expand Down

0 comments on commit dbeb70d

Please sign in to comment.