Format code

This commit is contained in:
2023-11-30 09:01:15 +07:00
parent 67c3764864
commit 350857c106
@@ -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');
}