Plans to turn a dance studio on Northgate in Darlington into apartments have been approved by the council.