Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Mar 13, 2024
1 parent 330d229 commit 785af00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/examples/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import remarkGfm from 'remark-gfm';
import remarkGfm from "remark-gfm";
import type { StorybookConfig } from "@storybook/types";

const isTabMode = process.env.STORYBOOK_ADDON_DESIGNS_MODE === "tab";
Expand All @@ -11,7 +11,7 @@ const config: StorybookConfig = {
"@storybook/addon-designs",
"@storybook/addon-webpack5-compiler-swc",
{
name: '@storybook/addon-docs',
name: "@storybook/addon-docs",
options: {
mdxPluginOptions: {
mdxCompileOptions: {
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/stories/docs/advanced/docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ To do this, you need to set `"tab"` to a `renderTarget` preset option.
The default value is `"panel"`.

{location.pathname.startsWith('/tab/')
? <a href="../?path=/docs/docs-advanced-usage--docs" onClick={undefined}>Go back to panel mode</a>
: <a href="./tab/?path=/docs/docs-advanced-usage--docs" onClick={undefined}>Go to tab mode</a>
? <a href="../?path=/docs/docs-advanced-usage--docs" onClick={undefined}>Go back to panel mode</a>
: <a href="./tab/?path=/docs/docs-advanced-usage--docs" onClick={undefined}>Go to tab mode</a>
}

```ts
Expand Down

0 comments on commit 785af00

Please sign in to comment.