Most law firms will not care what subject you study for an undergraduate degree, provided that you do well in that degree. Depending on your academic profile and other CV contents, you might be a competitive candidate for a large commercial law firm, although it is perhaps worth asking yourself why you wish to work for that type of firm (as to which see Roll On Friday and Legal Cheek for some insights into the employment culture of such firms).