Skip to content
Snippets Groups Projects
Commit d9a7f32f authored by Grzywocz, Dawid (UG - Comp Sci & Elec Eng)'s avatar Grzywocz, Dawid (UG - Comp Sci & Elec Eng)
Browse files

Event booking managment debugging removal

parent 666270b2
No related branches found
No related tags found
No related merge requests found
......@@ -392,28 +392,6 @@ function BookingManagement() {
))}
</div>
)}
{/* Debugging information - remove in production */}
<div style={{ marginTop: '30px', padding: '10px', backgroundColor: '#2f3544', borderRadius: '5px' }}>
<h3>Component State</h3>
<pre style={{ backgroundColor: '#1b1f2a', padding: '10px', overflow: 'auto' }}>
{JSON.stringify({
navigationState: {
action,
eventId,
processedEvents: Object.keys(processedBookingRef.current)
},
componentState: {
loading,
bookingInProgress,
bookingSuccess,
hasError: !!error,
error,
bookingsCount: bookings.length
}
}, null, 2)}
</pre>
</div>
</div>
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment