We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 335761d commit 909de74Copy full SHA for 909de74
headapps/Sugcon2024/src/lib/page-props-factory/plugins/feaas-themes.ts
@@ -6,17 +6,12 @@ class FEeaSThemesPlugin implements Plugin {
6
order = 2;
7
8
async exec(props: SitecorePageProps) {
9
- const contextId = process.env.SITECORE_EDGE_CONTEXT_ID;
+ const contextId = process.env.SITECORE_EDGE_CONTEXT_ID;
10
if (!contextId) {
11
throw new Error('Environment variable SITECORE_EDGE_CONTEXT_ID is required but not set.');
12
}
13
// Collect FEAAS themes
14
- props.headLinks.push(
15
- ...getDesignLibraryStylesheetLinks(
16
- props.layoutData,
17
- contextId
18
- )
19
- );
+ props.headLinks.push(...getDesignLibraryStylesheetLinks(props.layoutData, contextId));
20
21
return props;
22
0 commit comments