Skip to content

Commit

Permalink
Set theme settings in hot reload (#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwillchen authored Oct 7, 2024
1 parent 5c37fe8 commit 4c518f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mesop/web/src/services/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,9 @@ export class Channel {
const userEvent = new UserEvent();
userEvent.setStates(this.states);
const navigationEvent = new NavigationEvent();
userEvent.setViewportSize(getViewportSize());
userEvent.setNavigation(navigationEvent);
userEvent.setViewportSize(getViewportSize());
userEvent.setThemeSettings(this.themeService.getThemeSettings());
userEvent.setQueryParamsList(getQueryParams());
request.setUserEvent(userEvent);
this.init(this.initParams, request);
Expand Down

0 comments on commit 4c518f5

Please sign in to comment.