Skip to content

Commit 1fc70cb

Browse files
authored
Pwa 3610 v2 (#4559)
* PWA-3610: Fixed targetables call * PWA-3610: Fixed targetables call
1 parent 48c9771 commit 1fc70cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/venia-ui/lib/targets/venia-ui-intercept.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ const SummaryPaymentTypes = require('./SummaryPaymentTypes');
1212
const RootShimmerTypes = require('./RootShimmerTypes');
1313

1414
module.exports = veniaTargets => {
15+
if (!veniaTargets) {
16+
throw new Error('veniaTargets not provided — check local-intercept.js');
17+
}
1518
const venia = Targetables.using(veniaTargets);
1619

1720
venia.setSpecialFeatures(

0 commit comments

Comments
 (0)