Skip to content

Commit

Permalink
no need for additional default
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Osbourne committed Oct 12, 2023
1 parent 3266681 commit 48841cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/app/public/js/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -21537,7 +21537,7 @@
}
function renderKeyInsight() {
const model = this.model;
const layout = this.model.featureSettings.primaryScreen?.layout || "default";
const layout = this.model.featureSettings.primaryScreen.layout;
const title = (text) => import_nanohtml10.default`<h1 class="token-title-3-em">${text}</h1>`;
const description = (text) => import_nanohtml10.default`<div class="token-title-3"><span role="text">${text}</span></div>`;
const state = (() => {
Expand Down
2 changes: 1 addition & 1 deletion shared/js/ui/templates/key-insights.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const keyInsightsState = /** @type {const} */ ({
*/
export function renderKeyInsight() {
const model = this.model
const layout = this.model.featureSettings.primaryScreen?.layout || 'default'
const layout = this.model.featureSettings.primaryScreen.layout
const title = (text) => html`<h1 class="token-title-3-em">${text}</h1>`
const description = (text) => html`<div class="token-title-3"><span role="text">${text}</span></div>`

Expand Down

0 comments on commit 48841cd

Please sign in to comment.