Using withStyles from Material UI not updating dynamically

Hello all, I’ve been trying to add material UI components to Plasmic via code components, and for some reason when using the withStyles function in material-ui/core, the Plasmic editor does not update dynamically with the applied styles, instead I have to manually reload the page for the styles to apply. Is there any way to fix this issue?

If anyone down the road has the same issue with styling material ui components in Plasmic, I just created a new custom component which combined the material ui components and my own custom styles, and finally exported that to a code component for use in Plasmic.