File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/react-sdk-components/src Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -257,5 +257,7 @@ const darkTheme = createTheme({
257257 }
258258} ) ;
259259
260+ const sdkConfig = await getSdkConfig ( ) ;
261+
260262// eslint-disable-next-line import/prefer-default-export
261- export const theme = getSdkConfig ( ) . theme === 'dark' ? darkTheme : lightTheme ;
263+ export const theme = sdkConfig . theme === 'dark' ? darkTheme : lightTheme ;
Original file line number Diff line number Diff line change 22 "comment_sdk_config" : " This is the configuration file for the React SDK Components" ,
33 "sdk_optional_configs_doc_comment" : " See the document(link below) for more details on all the available config settings" ,
44 "sdk_optional_configs_doc" : " https://docs.pega.com/bundle/constellation-sdk/page/constellation-sdks/sdks/configuring-sdk-config-json.html" ,
5- "theme" : " dark " ,
5+ "theme" : " light " ,
66 "authConfig" : {
77 "authService" : " pega" ,
88
You can’t perform that action at this time.
0 commit comments