Skip to content

Commit 909de74

Browse files
committed
Resolved build failures
1 parent 335761d commit 909de74

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

headapps/Sugcon2024/src/lib/page-props-factory/plugins/feaas-themes.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,12 @@ class FEeaSThemesPlugin implements Plugin {
66
order = 2;
77

88
async exec(props: SitecorePageProps) {
9-
const contextId = process.env.SITECORE_EDGE_CONTEXT_ID;
9+
const contextId = process.env.SITECORE_EDGE_CONTEXT_ID;
1010
if (!contextId) {
1111
throw new Error('Environment variable SITECORE_EDGE_CONTEXT_ID is required but not set.');
1212
}
1313
// Collect FEAAS themes
14-
props.headLinks.push(
15-
...getDesignLibraryStylesheetLinks(
16-
props.layoutData,
17-
contextId
18-
)
19-
);
14+
props.headLinks.push(...getDesignLibraryStylesheetLinks(props.layoutData, contextId));
2015

2116
return props;
2217
}

0 commit comments

Comments
 (0)