Skip to content

Commit 3ca172b

Browse files
committed
docs: update matchesState-documentation
* useMachine's 'matchesState' does not support arrays anymore
1 parent a495485 commit 3ca172b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/dummy/app/templates/docs/statecharts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,8 @@ export default class MyComponent extends Component {
519519
</button>
520520
```
521521

522-
You can pass a [`StateValue`](https://xstate.js.org/api/globals.html#statevalue) or
523-
an array of `StateValue`s to `matchesState`. This means you can also match
522+
You can pass a [`StateValue`](https://xstate.js.org/api/globals.html#statevalue)
523+
to `matchesState`. This means you can also match
524524
against nested or [parallel](https://xstate.js.org/docs/guides/parallel.html)
525525
states:
526526

0 commit comments

Comments
 (0)