Skip to content

Commit 1a1e001

Browse files
committed
add temp log in shell component
1 parent 7b4d9ef commit 1a1e001

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/features/common/components/layout/page-layout/page-layout.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const PageLayoutComponent: React.FC<LayoutComponentProps> = ({
6767
}}
6868
/>
6969
</head>
70-
{/* <ShellComponent languageCode={languageCode} themeCode={themeCode}>
70+
<ShellComponent languageCode={languageCode} themeCode={themeCode}>
7171
<PageHeaderComponent
7272
languageCode={languageCode}
7373
themeCode={themeCode}
@@ -77,7 +77,7 @@ export const PageLayoutComponent: React.FC<LayoutComponentProps> = ({
7777
languageCode={languageCode}
7878
dictionary={layoutDictionary.footer}
7979
/>
80-
</ShellComponent> */}
80+
</ShellComponent>
8181
</html>
8282
);
8383
};

src/features/common/components/shell/shell.component.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export const ShellComponent: React.FC<ShellComponentProps> = ({
7171
}, [handleConsentChange]);
7272

7373
useEffect(() => {
74+
console.log("Shell component mounted!")
7475
/**
7576
* At some point, the original jwt.io website used to store tokens and keys in LocalStorage
7677
* as a feature for people to see the last JWT they used.
@@ -103,7 +104,7 @@ export const ShellComponent: React.FC<ShellComponentProps> = ({
103104
)}
104105
data-theme={themeCode}
105106
>
106-
<OnetrustScriptComponent
107+
{/* <OnetrustScriptComponent
107108
id={CLIENT_CONFIG.DEVELOPERS_DATA_DOMAIN_ID_ONETRUST}
108109
/>
109110
<AdobeAnalyticsScript />
@@ -117,7 +118,7 @@ export const ShellComponent: React.FC<ShellComponentProps> = ({
117118
<AbTestingScriptComponent />
118119
</>
119120
)}
120-
<ThemeDetectorComponent />
121+
<ThemeDetectorComponent /> */}
121122
</body>
122123
);
123124
};

0 commit comments

Comments
 (0)