Subordinates having an affair at the workplace: What should the manager do about it?

Many people find love at the workplace. It is an environment in which we spend a lot of time, so it is not surprising that something more than mere affection can develop between colleagues. However, this is a specific situation that can disrupt teamwork and mutual cooperation. So how should a manager respond to such a situation?