It depends, is the MX the gateway for WIFI networks? If so, whatever is configured in the MX will prevail since it is the one that forwards traffic to the internet.
But why would you have traffic shaping configured on both? What would be the purpose?
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.