Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
kayleecodes1 committed Jun 19, 2024
1 parent 3023277 commit fa3c826
Show file tree
Hide file tree
Showing 5 changed files with 9,040 additions and 9,706 deletions.
4 changes: 2 additions & 2 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { join, dirname } from 'path';
* This function is used to resolve the absolute path of a package.
* It is needed in projects that use Yarn PnP or are set up within a monorepo.
*/
function getAbsolutePath(value: string): any {
const getAbsolutePath = (value: string): any => {
return dirname(require.resolve(join(value, 'package.json')));
}
};

const config: StorybookConfig = {
stories: ['../stories/**/*.stories.tsx'],
Expand Down
Loading

0 comments on commit fa3c826

Please sign in to comment.