Skip to content

Commit

Permalink
docs: fix error on useCookieValue page (#296)
Browse files Browse the repository at this point in the history
* chore(TS): migrate to TypeScript 4.4

BREAKING CHANGE: `IAnyPermissionDescriptor` type removed in favor of
built-in `PermissionDescriptor`.

* docs(useCookieValue): example been using old index import
  • Loading branch information
xobotyi authored Aug 30, 2021
1 parent 9afd8d2 commit a390f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/useCookieValue/__docs__/example.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { useCookieValue } from '../..';
import { useCookieValue } from '../useCookieValue';

export const Example: React.FC = () => {
const [cookie, set, remove] = useCookieValue('react-hookz', { expires: 3600 });
Expand Down

0 comments on commit a390f10

Please sign in to comment.