It really depend on how magic is available.
if magic is available, free, without control then a society can discard some of tech,
if magic is rare, dangerous, mysterious and controlled then people will seek other means like usual tech.
a mix of both is my best take.