Skip to content

Commit

Permalink
fix: update staticDirs path
Browse files Browse the repository at this point in the history
  • Loading branch information
ickas committed Sep 21, 2023
1 parent 8a6ae66 commit 8461561
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const config: StorybookConfig = {
core: {
disableTelemetry: true, // 👈 Disables telemetry
},
staticDirs: ['./static'],
staticDirs: ['../static'],
webpackFinal: async (config) => {
config.resolve = {
...config.resolve,
Expand Down
5 changes: 2 additions & 3 deletions src/atoms/avatar-image/stories/avatar-image.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ PNG.args = {
boringType: 'pixel',
square: false,
alt: 'Maria Rincon',
url:
'https://taikai.azureedge.net/O4f7yrc0ecq0JUEirIk1sZ2XItEpJ-xrIr2W03kRrJs/rs:fit:400:400:0/g:no/aHR0cHM6Ly9zdG9yYWdlLmdvb2dsZWFwaXMuY29tL3RhaWthaS1zdG9yYWdlL2ltYWdlcy90YWlrYWkvbWFyaWFfNDAwXzQwMC5qcGc.jpg',
url: 'https://taikai.azureedge.net/O4f7yrc0ecq0JUEirIk1sZ2XItEpJ-xrIr2W03kRrJs/rs:fit:400:400:0/g:no/aHR0cHM6Ly9zdG9yYWdlLmdvb2dsZWFwaXMuY29tL3RhaWthaS1zdG9yYWdlL2ltYWdlcy90YWlrYWkvbWFyaWFfNDAwXzQwMC5qcGc.jpg',
};

export const SVG = (args: AvatarProps) => <AvatarImage {...args} />;
Expand All @@ -34,7 +33,7 @@ SVG.args = {
boringType: 'pixel',
square: false,
alt: 'Default Avatar',
url: './images/default-avatar.svg',
url: 'images/default-avatar.svg',
};

export const BoringAvatar = (args: AvatarProps) => <AvatarImage {...args} />;
Expand Down

0 comments on commit 8461561

Please sign in to comment.