diff --git a/packages/react-components/react-card/src/stories/CardDefault.stories.tsx b/packages/react-components/react-card/src/stories/CardDefault.stories.tsx index 69a248b028b95..c4ff8ba0cd853 100644 --- a/packages/react-components/react-card/src/stories/CardDefault.stories.tsx +++ b/packages/react-components/react-card/src/stories/CardDefault.stories.tsx @@ -5,8 +5,7 @@ import { Body, Caption } from '@fluentui/react-text'; import { Button } from '@fluentui/react-button'; import { ArrowReplyRegular, ShareRegular } from '@fluentui/react-icons'; import { Card, CardFooter, CardHeader, CardPreview } from '../index'; // codesandbox-dependency: @fluentui/react-card ^9.0.0-beta - -const ASSET_URL = 'https://raw.githubusercontent.com/microsoft/fluentui/master/packages/react-card'; +import { ASSET_URL } from './SampleCard.stories'; const avatarElviaURL = ASSET_URL + '/assets/avatar_elvia.svg'; const wordLogoURL = ASSET_URL + '/assets/word_logo.svg'; diff --git a/packages/react-components/react-card/src/stories/SampleCard.stories.tsx b/packages/react-components/react-card/src/stories/SampleCard.stories.tsx index d702ba95fa6b5..2ab8224364a3c 100644 --- a/packages/react-components/react-card/src/stories/SampleCard.stories.tsx +++ b/packages/react-components/react-card/src/stories/SampleCard.stories.tsx @@ -6,7 +6,8 @@ import { Body, Caption } from '@fluentui/react-text'; import { Card, CardHeader, CardFooter } from '../index'; import type { CardProps } from '../index'; -const ASSET_URL = 'https://raw.githubusercontent.com/microsoft/fluentui/master/packages/react-card'; +export const ASSET_URL = + 'https://raw.githubusercontent.com/microsoft/fluentui/master/packages/react-components/react-card'; const powerpointLogoURL = ASSET_URL + '/assets/powerpoint_logo.svg';