Update test case, fix comments

This commit is contained in:
2023-12-03 22:22:36 +07:00
parent d53b869d65
commit 5d5eb1adaf
135 changed files with 8702 additions and 1491 deletions
@@ -6,6 +6,8 @@ import { setIsDeleteRoom as setIsDeleteRoomFn } from '@service/roomServices';
// Constants
import * as messages from '@constant/messages';
// Hooks
import { useUserRoomAvailable } from '@hook/useUserRoomAvailable';
/**
@@ -33,7 +35,11 @@ const useSetIsDeleteRoom = () => {
onError: (err) => toast.error(err.message),
});
return { isDeleting, setIsDeleteRoom, isSuccess };
return {
isDeleting,
setIsDeleteRoom,
isSuccess
};
};
export { useSetIsDeleteRoom };