From e272a45493b39ca5c2476f5324ca31859d49eaa2 Mon Sep 17 00:00:00 2001 From: Odin Thomas Rochmann Date: Thu, 14 Nov 2024 12:17:09 +0100 Subject: [PATCH] fix: update import path for BookmarkCreateArgs in useBookmark --- .changeset/lemon-coats-buy.md | 5 +++++ packages/react/modules/bookmark/src/useBookmark.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/lemon-coats-buy.md diff --git a/.changeset/lemon-coats-buy.md b/.changeset/lemon-coats-buy.md new file mode 100644 index 000000000..8c856058a --- /dev/null +++ b/.changeset/lemon-coats-buy.md @@ -0,0 +1,5 @@ +--- +'@equinor/fusion-framework-react-module-bookmark': patch +--- + +fixed import path in `useBookmark` hook diff --git a/packages/react/modules/bookmark/src/useBookmark.ts b/packages/react/modules/bookmark/src/useBookmark.ts index d3160ebdc..400eb0bc1 100644 --- a/packages/react/modules/bookmark/src/useBookmark.ts +++ b/packages/react/modules/bookmark/src/useBookmark.ts @@ -15,7 +15,7 @@ import { import { useObservableState } from '@equinor/fusion-observable/react'; import { useBookmarkProvider } from './useBookmarkProvider'; -import { BookmarkCreateArgs } from '@equinor/fusion-framework-module-bookmark/src/BookmarkProvider'; +import { BookmarkCreateArgs } from '@equinor/fusion-framework-module-bookmark'; export type useBookmarkArgs = { provider?: BookmarkProvider;