Skip to content

Commit

Permalink
add missing import, oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Sep 15, 2024
1 parent 2e934c8 commit c38a72c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/xstate-store/src/fromStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ export function fromStore<

const transition = createStoreTransition(transitionsObj);
return {
// Only get the
transition: (snapshot, event, actorScope) => {
const [nextSnapshot, emittedEvents] = transition(snapshot, event);

Expand Down
2 changes: 2 additions & 0 deletions packages/xstate-store/test/types.test.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { createStore } from '../src/index';

describe('emitted', () => {
it('can emit a known event', () => {
createStore({
Expand Down

0 comments on commit c38a72c

Please sign in to comment.