Skip to content

Commit b8283b3

Browse files
jbisaSFsf-avinash-kasipathy
authored andcommitted
Revert "@W-18795492 | PWA Kit - Adyen ApplePay in Cart (#2571)" (#2619)
This reverts commit dc8a749.
1 parent c0e366d commit b8283b3

File tree

27 files changed

+5
-2908
lines changed

27 files changed

+5
-2908
lines changed

packages/template-retail-react-app/app/components/_app/index.jsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ const App = (props) => {
188188

189189
// Used to conditionally render header/footer for checkout page
190190
const isCheckout = /\/checkout$/.test(location?.pathname)
191-
const isExpress = /\/express$/.test(location?.pathname)
192191

193192
const {l10n} = site
194193
// Get the current currency to be used through out the app
@@ -289,11 +288,7 @@ const App = (props) => {
289288
trackPage()
290289
}, [location])
291290

292-
return isExpress ? (
293-
<OfflineBoundary isOnline={false}>
294-
<div style={{width: '100%', height: '32px', overflowY: 'hidden'}}>{children}</div>
295-
</OfflineBoundary>
296-
) : (
291+
return (
297292
<Box className="sf-app" {...styles.container}>
298293
<StorefrontPreview getToken={getTokenWhenReady}>
299294
<IntlProvider

packages/template-retail-react-app/app/components/applePayExpress/index.jsx

Lines changed: 0 additions & 356 deletions
This file was deleted.

0 commit comments

Comments
 (0)