Skip to content

Commit 6e11a34

Browse files
authored
fix import from effector in last code sample
1 parent a837dc7 commit 6e11a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/create-router-controls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const router = createHistoryRouter({
5050
Use it anywhere:
5151
```ts
5252
// @/pages/register
53-
import { sample, cancelButtonPressed } from 'effector'
53+
import { sample, createEvent } from 'effector'
5454

5555
import { controls } from '@/shared/routing'
5656

0 commit comments

Comments
 (0)