From 5fae62580d87c1e3ed9b9e9ec20c3ce30fb8a7ff Mon Sep 17 00:00:00 2001 From: Tristan Watanabe Date: Sat, 15 Oct 2022 17:04:32 -0700 Subject: [PATCH 1/2] fix: update import path --- .../react-card/stories/Card/CardOrientation.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-components/react-card/stories/Card/CardOrientation.stories.tsx b/packages/react-components/react-card/stories/Card/CardOrientation.stories.tsx index af2add1cc94ba..a4c05436219b8 100644 --- a/packages/react-components/react-card/stories/Card/CardOrientation.stories.tsx +++ b/packages/react-components/react-card/stories/Card/CardOrientation.stories.tsx @@ -3,7 +3,7 @@ import { makeStyles, shorthands, Avatar, Body1, Button, Caption1 } from '@fluent import { MoreHorizontal24Regular } from '@fluentui/react-icons'; import { Card, CardHeader, CardPreview } from '@fluentui/react-card'; import { SampleCard, Title } from './SampleCard.stories'; -import Logo from '../../../assets/logo.svg'; +import Logo from '../assets/logo.svg'; const ASSET_URL = 'https://raw.githubusercontent.com/microsoft/fluentui/master/packages/react-components/react-card'; const avatarElviaURL = ASSET_URL + '/stories/assets/avatar_elvia.svg'; From 2b5a753c152895058d55b3ba23cf911d59401e76 Mon Sep 17 00:00:00 2001 From: Tristan Watanabe Date: Sat, 15 Oct 2022 17:44:36 -0700 Subject: [PATCH 2/2] fix: use correct asset url path --- .../react-card/stories/Card/CardTemplates.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-components/react-card/stories/Card/CardTemplates.stories.tsx b/packages/react-components/react-card/stories/Card/CardTemplates.stories.tsx index 2ca604c36912a..524406c4e3124 100644 --- a/packages/react-components/react-card/stories/Card/CardTemplates.stories.tsx +++ b/packages/react-components/react-card/stories/Card/CardTemplates.stories.tsx @@ -34,7 +34,7 @@ import office2 from '../assets/office2.png'; import avatarColin from '../assets/avatar_colin.svg'; const ASSET_URL = 'https://raw.githubusercontent.com/microsoft/fluentui/master/packages/react-components/react-card'; -const powerpointLogoURL = ASSET_URL + '/assets/powerpoint_logo.svg'; +const powerpointLogoURL = ASSET_URL + '/stories/assets/powerpoint_logo.svg'; const useStyles = makeStyles({ mainContainer: {