We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44a78b7 commit 4442df8Copy full SHA for 4442df8
src/frontend/src/pages/provider/receipt/[bookingId].tsx
@@ -25,11 +25,8 @@ const ReceiptPage: React.FC = () => {
25
estimatedCommission: 0,
26
});
27
28
- const {
29
- getBookingById,
30
- loading,
31
- checkCommissionValidation,
32
- } = useProviderBookingManagement();
+ const { getBookingById, loading, checkCommissionValidation } =
+ useProviderBookingManagement();
33
34
// Get booking data from hook
35
const booking = useMemo(() => {
@@ -99,7 +96,6 @@ const ReceiptPage: React.FC = () => {
99
96
}
100
97
};
101
98
102
-
103
if (loading) {
104
return (
105
<div className="flex min-h-screen items-center justify-center">
0 commit comments