Skip to content

Commit 020da04

Browse files
authored
Fix link to TodoList class in usePermissions documentation
Updated the link to the TodoList class in the documentation to point to the correct repository path.
1 parent 7c2c8c5 commit 020da04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/dexie-react-hooks/usePermissions().md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export interface PermissionChecker<T> {
4444
| db | A Dexie instance with dexie-cloud addon active |
4545
| table | A table name or Table instance |
4646
| obj | An object retrieved from a dexie query |
47-
| entity | If your table is declared using DexieCloudTable using a `Entity`-derive class mapped to the table using mapToClass(), as exemplified in declaration of the TodoList class declared in [dexie-cloud-todo-app](https://github.com/dexie/Dexie.js/blob/v4.0.0-alpha.3/samples/dexie-cloud-todo-app/src/db/TodoDB.ts), you only need to provide a single argument - the entity itself |
47+
| entity | If your table is declared using DexieCloudTable using a `Entity`-derived class mapped to the table using mapToClass(), as exemplified in declaration of the [TodoList](https://github.com/dexie/Dexie.js/blob/master/samples/dexie-cloud-todo-app/src/db/TodoList.ts) class declared in [dexie-cloud-todo-app](https://github.com/dexie/Dexie.js/blob/master/samples/dexie-cloud-todo-app/README.md), you only need to provide a single argument - the entity itself |
4848

4949
# Sample
5050

0 commit comments

Comments
 (0)