Closed prode81 closed 3 years ago
Not sure if this is the cleanest solutions.
Me neither. I will test a little bit further, if this changes really are necessary.
I did some testing and this issue did not occur anymore.
I now get a warning, that
It looks like there are several instances of
@material-ui/styles
initialized in this application.
but only at the first hot-replacement within the hostapp after server startup.
But good enough for a dev-setup for swidget-development, so I will discard this PR.
I'm not sure, if this is really necessary, as the core exports everything from styles by default, but I ran into an issue, where makeStyles could occasionally not be found in the exposed material-ui bundle. Fixes #21
This should fix this issue.
Acting on behalf of Daimler TSS GmbH.