diff --git a/src/react/useObservable.ts b/src/react/useObservable.ts index 621557c1a..c04e00119 100644 --- a/src/react/useObservable.ts +++ b/src/react/useObservable.ts @@ -1,6 +1,6 @@ import { isFunction, observable } from '@legendapp/state'; import { useMemo } from 'react'; -import { MaybePromiseObservable } from 'src/observable'; +import type { MaybePromiseObservable } from '../observable'; /** * A React hook that creates a new observable diff --git a/src/react/useObservableReducer.ts b/src/react/useObservableReducer.ts index 4e4f93bfc..ed4d6bd4e 100644 --- a/src/react/useObservableReducer.ts +++ b/src/react/useObservableReducer.ts @@ -10,7 +10,7 @@ import type { ReducerWithoutAction, } from 'react'; import { useObservable } from './useObservable'; -import { MaybePromiseObservable } from 'src/observable'; +import type { MaybePromiseObservable } from '../observable'; export function useObservableReducer, I>( reducer: R,