Skip to content

Commit

Permalink
Fix pharos site storybook links (#781)
Browse files Browse the repository at this point in the history
* fix(site): update filename to match component

* fix(site): link storybook to `--docs` not `--base`
  • Loading branch information
brentswisher authored Jul 19, 2024
1 parent a8e4b8a commit 4f8c37d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-boxes-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ithaka/pharos-site': patch
---

Fix storybook links to point to documentation story of components
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const ComponentExample: FC<ComponentExampleProps> = ({
storyBookType +
'-' +
componentTitle.replace(/ /g, '-').toLowerCase() +
'--base';
'--docs';

return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
container__lessMargin,
container__topMargin,
} from './PageSection.module.css';
import ComponentExample from '../ExampleWraper';
import ComponentExample from '../ComponentExample';

interface PageSectionProps {
children?: ReactNode;
Expand Down

0 comments on commit 4f8c37d

Please sign in to comment.