Yeah, a 30-mile range could work for city commuting if your trips are short and you’ve got easy access to charging, just keep in mind that things like weather, hills, and battery wear can eat into that range over time.
@Zazo2’s got a solid point. 30 miles should cover most city commutes if your round trip’s under that. But the most important thing is to charge it up regularly. Also, how is the traffic in your area? Stop-and-go riding drains the battery faster than if you had a smooth ride.