From 350857c106ef8db992ab262b954e99dd72ce4f8c Mon Sep 17 00:00:00 2001 From: Loi Phan Date: Thu, 30 Nov 2023 09:01:15 +0700 Subject: [PATCH] Format code --- hotel-management/src/contexts/UserRoomAvailableContext.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hotel-management/src/contexts/UserRoomAvailableContext.ts b/hotel-management/src/contexts/UserRoomAvailableContext.ts index d7e3bed..36ef21b 100644 --- a/hotel-management/src/contexts/UserRoomAvailableContext.ts +++ b/hotel-management/src/contexts/UserRoomAvailableContext.ts @@ -82,7 +82,7 @@ const reducer = (state: IUserRoomState, action: IAction) => { usersAvailable: tempArr, }; } - + case 'updateStatusUser': { const tempArr = state.usersAvailable; const indexItemUpdate = tempArr.findIndex( @@ -141,7 +141,7 @@ const reducer = (state: IUserRoomState, action: IAction) => { roomsAvailable: tempArr, }; } - + default: throw new Error('Action unknown'); }