Skip to content

Commit b34fe4d

Browse files
authored
docs: fix typo
1 parent 7784c91 commit b34fe4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

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

128128
```js
129-
const transact = useTransact()
129+
const [transact] = useTransact()
130130

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

0 commit comments

Comments
 (0)