Skip to content

Commit b7cb5e8

Browse files
committed
Update generated template
1 parent d3b9bcb commit b7cb5e8

File tree

2 files changed

+2
-2
lines changed
  • packages/pwa-kit-create-app/assets
    • bootstrap/js/overrides/app/components/_app-config
    • templates/@salesforce/retail-react-app/app/components/_app-config

2 files changed

+2
-2
lines changed

packages/pwa-kit-create-app/assets/bootstrap/js/overrides/app/components/_app-config/index.jsx.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const AppConfig = ({children, locals = {}}) => {
9595
headers={headers}
9696
defaultDnt={DEFAULT_DNT_STATE}
9797
logger={createLogger({packageName: 'commerce-sdk-react'})}
98-
passwordlessLoginCallbackURI={passwordlessLoginCallbackURI}
98+
passwordlessLoginCallbackURI={passwordlessCallbackURI}
9999
// Set 'enablePWAKitPrivateClient' to true to use SLAS private client login flows.
100100
// Make sure to also enable useSLASPrivateClient in ssr.js when enabling this setting.
101101
{{#if answers.project.commerce.isSlasPrivate}}

packages/pwa-kit-create-app/assets/templates/@salesforce/retail-react-app/app/components/_app-config/index.jsx.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const AppConfig = ({children, locals = {}}) => {
9696
headers={headers}
9797
defaultDnt={DEFAULT_DNT_STATE}
9898
logger={createLogger({packageName: 'commerce-sdk-react'})}
99-
passwordlessLoginCallbackURI={passwordlessLoginCallbackURI}
99+
passwordlessLoginCallbackURI={passwordlessCallbackURI}
100100
// Set 'enablePWAKitPrivateClient' to true to use SLAS private client login flows.
101101
// Make sure to also enable useSLASPrivateClient in ssr.js when enabling this setting.
102102
{{#if answers.project.commerce.isSlasPrivate}}

0 commit comments

Comments
 (0)