Skip to content

Commit 767209a

Browse files
committed
debugging
1 parent 8724704 commit 767209a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/router.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@ export const router: RouteObject[] = [
350350
} catch (error: any) {
351351
// for 404s we want to return null so that the 404 page is shown
352352
if (error?.response?.status === 404) {
353-
console.error("Event not found", error);
354-
return {event: null, promoCodeValid: undefined, promoCode: null};
353+
// console.error("Event not found", error);
354+
// return {event: null, promoCodeValid: undefined, promoCode: null};
355355
}
356356

357357
console.error(error);

0 commit comments

Comments
 (0)