Skip to content

Commit

Permalink
fix(packages/core): first-time users may not see Themes widget
Browse files Browse the repository at this point in the history
Fixes #6528
  • Loading branch information
Nick Mitchell authored and starpit committed Jan 11, 2021
1 parent 6218d15 commit d678830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/webapp/themes/persistence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const switchToPersistedThemeChoice = async (): Promise<void> => {
// Here is the fall-through handler: switch to the default theme
// choice
try {
await switchTo(await getDefaultTheme(), true)
await switchTo(await getDefaultTheme())
} catch (err) {
console.error('Critical error!!! Cannot find a theme.', err)
}
Expand Down

0 comments on commit d678830

Please sign in to comment.