Skip to content

Commit 04be26b

Browse files
authored
docs: fix typo
1 parent b34fe4d commit 04be26b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/0400|API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ sameTodo.get('project', 'user', 'name') // => 'Arpegius'
7878
Transactions let you create, update and delete multiple entities simultaneously. All changes will reactively update any components that depend on the changed data.
7979

8080
```js
81-
const transact = useTransact()
81+
const [transact] = useTransact()
8282

8383
// A transaction is an array of nested objects and or arrays.
8484
// Leaving the id blank will create a new entity.

0 commit comments

Comments
 (0)