Skip to content

Commit 4c518f5

Browse files
authored
Set theme settings in hot reload (#1018)
1 parent 5c37fe8 commit 4c518f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mesop/web/src/services/channel.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,9 @@ export class Channel {
367367
const userEvent = new UserEvent();
368368
userEvent.setStates(this.states);
369369
const navigationEvent = new NavigationEvent();
370-
userEvent.setViewportSize(getViewportSize());
371370
userEvent.setNavigation(navigationEvent);
371+
userEvent.setViewportSize(getViewportSize());
372+
userEvent.setThemeSettings(this.themeService.getThemeSettings());
372373
userEvent.setQueryParamsList(getQueryParams());
373374
request.setUserEvent(userEvent);
374375
this.init(this.initParams, request);

0 commit comments

Comments
 (0)