Skip to content

Commit 4442df8

Browse files
committed
prettier
1 parent 44a78b7 commit 4442df8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/frontend/src/pages/provider/receipt/[bookingId].tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,8 @@ const ReceiptPage: React.FC = () => {
2525
estimatedCommission: 0,
2626
});
2727

28-
const {
29-
getBookingById,
30-
loading,
31-
checkCommissionValidation,
32-
} = useProviderBookingManagement();
28+
const { getBookingById, loading, checkCommissionValidation } =
29+
useProviderBookingManagement();
3330

3431
// Get booking data from hook
3532
const booking = useMemo(() => {
@@ -99,7 +96,6 @@ const ReceiptPage: React.FC = () => {
9996
}
10097
};
10198

102-
10399
if (loading) {
104100
return (
105101
<div className="flex min-h-screen items-center justify-center">

0 commit comments

Comments
 (0)