Skip to content

Commit

Permalink
Fix docs import paths for new build shape
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickDeVries committed May 14, 2024
1 parent 22fe234 commit 58a2550
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/hooks/UseArray/UseArray.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, Source } from '@storybook/blocks'
import TYPES from '../../../dist/hooks/UseArray/useArray.d.ts?raw'
import TYPES from '../../../dist/src/hooks/UseArray/useArray.d.ts?raw'

<Meta title="useArray" />

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/UseDeepCompareEffect/UseDeepCompareEffect.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, Source } from '@storybook/blocks'
import TYPES from '../../../dist/hooks/UseDeepCompareEffect/useDeepCompareEffect.d.ts?raw'
import TYPES from '../../../dist/src/hooks/UseDeepCompareEffect/useDeepCompareEffect.d.ts?raw'
import USE_THROTTLE_FUNCTION_CODE from '../UseThrottleFunction/useThrottleFunction.ts?raw'

<Meta title="useDeepCompareEffect" name="useDeepCompareEffect" />
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/UseFlag/UseFlag.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, Source } from '@storybook/blocks'
import TYPES from '../../../dist/hooks/UseFlag/useFlag.d.ts?raw'
import TYPES from '../../../dist/src/hooks/UseFlag/useFlag.d.ts?raw'

<Meta title="useFlag" />

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/UseFlexCorners/UseFlexCorners.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, Source } from '@storybook/blocks'
import TYPES from '../../../dist/hooks/UseFlexCorners/useFlexCorners.d.ts?raw'
import TYPES from '../../../dist/src/hooks/UseFlexCorners/useFlexCorners.d.ts?raw'

<Meta title="useFlexCorners" />

Expand Down
4 changes: 2 additions & 2 deletions src/hooks/UseForm/UseForm.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, Source } from '@storybook/blocks'
import PUBLIC_TYPES from '../../../dist/hooks/UseForm/useForm/types/public.d.ts?raw'
import HOOK_TYPES from '../../../dist/hooks/UseForm/useForm/useForm.d.ts?raw'
import PUBLIC_TYPES from '../../../dist/src/hooks/UseForm/useForm/types/public.d.ts?raw'
import HOOK_TYPES from '../../../dist/src/hooks/UseForm/useForm/useForm.d.ts?raw'

<Meta title="useForm" />

Expand Down
4 changes: 2 additions & 2 deletions src/hooks/UseGraph/UseGraph.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, Source } from '@storybook/blocks'
import GRAPH_TYPES from '../../../dist/hooks/UseGraph/Graph.d.ts?raw'
import HOOK_TYPES from '../../../dist/hooks/UseGraph/useGraph.d.ts?raw'
import GRAPH_TYPES from '../../../dist/src/hooks/UseGraph/Graph.d.ts?raw'
import HOOK_TYPES from '../../../dist/src/hooks/UseGraph/useGraph.d.ts?raw'
import USE_FORM_CODE from '../UseForm/useForm/useForm.ts?raw'

<Meta title="Graph | useGraph" />
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/UseMatchMedia/UseMatchMedia.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, Source } from '@storybook/blocks'
import TYPES from '../../../dist/hooks/UseMatchMedia/useMatchMedia.d.ts?raw'
import TYPES from '../../../dist/src/hooks/UseMatchMedia/useMatchMedia.d.ts?raw'

<Meta title="useMatchMedia" />

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/UseMutationObserver/UseMutationObserver.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, Source } from '@storybook/blocks'
import TYPES from '../../../dist/hooks/UseMutationObserver/useMutationObserver.d.ts?raw'
import TYPES from '../../../dist/src/hooks/UseMutationObserver/useMutationObserver.d.ts?raw'

<Meta title="useMutationObserver" />

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/UseResizeObserver/UseResizeObserver.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, Source } from '@storybook/blocks'
import TYPES from '../../../dist/hooks/UseResizeObserver/useResizeObserver.d.ts?raw'
import TYPES from '../../../dist/src/hooks/UseResizeObserver/useResizeObserver.d.ts?raw'

<Meta title="useResizeObserver" />

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/UseTally/UseTally.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, Source } from '@storybook/blocks'
import TYPES from '../../../dist/hooks/UseTally/useTally.d.ts?raw'
import TYPES from '../../../dist/src/hooks/UseTally/useTally.d.ts?raw'

<Meta title="useTally" />

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/UseThrottleFunction/UseThrottleFunction.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, Source } from '@storybook/blocks'
import TYPES from '../../../dist/hooks/UseThrottleFunction/useThrottleFunction.d.ts?raw'
import TYPES from '../../../dist/src/hooks/UseThrottleFunction/useThrottleFunction.d.ts?raw'

<Meta title="useThrottleFunction" />

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/UseThrottleValue/UseThrottleValue.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, Source } from '@storybook/blocks'
import TYPES from '../../../dist/hooks/UseThrottleValue/useThrottleValue.d.ts?raw'
import TYPES from '../../../dist/src/hooks/UseThrottleValue/useThrottleValue.d.ts?raw'

<Meta title="useThrottleValue" />

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/UseWindowListener/UseWindowListener.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Meta, Source } from '@storybook/blocks'
import TYPES from '../../../dist/hooks/UseWindowListener/useWindowListener.d.ts?raw'
import TYPES from '../../../dist/src/hooks/UseWindowListener/useWindowListener.d.ts?raw'

<Meta title="useWindowListener" />

Expand Down

0 comments on commit 58a2550

Please sign in to comment.