RemoveRepository.js getting information from previous screen