Skip to content

Commit

Permalink
fix: imports from 'src/..."
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeistrich committed Sep 19, 2023
1 parent 9ff58ff commit d7bbbaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/react/useObservable.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/react/useObservableReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<R extends ReducerWithoutAction<any>, I>(
reducer: R,
Expand Down

0 comments on commit d7bbbaf

Please sign in to comment.