diff --git a/docs/docs/side-effects.mdx b/docs/docs/side-effects.mdx index 4f9e17d0..38f32025 100644 --- a/docs/docs/side-effects.mdx +++ b/docs/docs/side-effects.mdx @@ -57,7 +57,7 @@ We can register `effects` that'll execute when we dispatch actions using [`@ngne ```ts title="todos.effects.ts" -import { createEffect, ofType } from '@ngneat/effects'; +import { createAction, createEffect, ofType } from '@ngneat/effects'; const loadTodos = createAction('[Todos] Load'); @@ -119,4 +119,4 @@ function SearchComponent() { } ``` -In the [official](https://github.com/ngneat/effects#effect-functions) documentation, you can find more information and an Angular example. It's possible to use effects and effect functions simultaneously if you like. \ No newline at end of file +In the [official](https://github.com/ngneat/effects#effect-functions) documentation, you can find more information and an Angular example. It's possible to use effects and effect functions simultaneously if you like.