From abbe776e91381f86f177d35abb3e30d070ffd701 Mon Sep 17 00:00:00 2001 From: Casey Dyer Date: Tue, 17 Dec 2024 11:53:28 -0800 Subject: [PATCH] fix: cleanup functionality broken for stories from recent work --- .storybook/preview.js | 2 ++ .storybook/stories/ThanksBadges.stories.js | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.storybook/preview.js b/.storybook/preview.js index 7bd4a955aa..4d92bad674 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -60,6 +60,8 @@ setup((app) => { }); app.provide('$kvTrackEvent', () => { }); + + app.provide('$appConfig', { photoPath: 'https://www.development.kiva.org/img/' }); }); // add custom viewports diff --git a/.storybook/stories/ThanksBadges.stories.js b/.storybook/stories/ThanksBadges.stories.js index 1d1a41ad3b..09775a4ff5 100644 --- a/.storybook/stories/ThanksBadges.stories.js +++ b/.storybook/stories/ThanksBadges.stories.js @@ -97,6 +97,7 @@ export const UserLoggedInOptedInThreeLoans = story({ }); export const BadgeOld = story({ + isGuest: false, lender: mockLender, loans: mockLoans, receipt: mockedReceiptData, @@ -104,6 +105,7 @@ export const BadgeOld = story({ }); export const BadgeTiered = story({ + isGuest: false, lender: mockLender, loans: mockLoans, receipt: mockedReceiptData, @@ -111,6 +113,7 @@ export const BadgeTiered = story({ }); export const BadgeMultiple = story({ + isGuest: false, lender: mockLender, loans: mockLoans, receipt: mockedReceiptData,