Skip to content

Commit

Permalink
Minor typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chmac authored Apr 6, 2023
1 parent 91ea926 commit 2571718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/createListenerMiddleware.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ First, you can import effect callbacks from slice files into the middleware file
```ts no-transpile title="app/listenerMiddleware.ts"
import { action1, listener1 } from '../features/feature1/feature1Slice'
import { action2, listener2 } from '../features/feature2/feature1Slice'
import { action2, listener2 } from '../features/feature2/feature2Slice'

listenerMiddleware.startListening({ actionCreator: action1, effect: listener1 })
listenerMiddleware.startListening({ actionCreator: action2, effect: listener2 })
Expand Down

0 comments on commit 2571718

Please sign in to comment.