Skip to content

Commit 9e193ce

Browse files
Update versioned_docs/version-5/migration.mdx
Co-authored-by: Kevin Maes <[email protected]>
1 parent 762fff8 commit 9e193ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versioned_docs/version-5/migration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ import { createMachine, createActor } from 'xstate';
9393
const machine = createMachine(/* ... */);
9494

9595
// ❌ DEPRECATED
96-
const actor = createActor(machine);
96+
const actor = interpret(machine);
9797
```
9898

9999
</TabItem>

0 commit comments

Comments
 (0)