Skip to content

Commit

Permalink
Update dependencies and improve auth error (#32)
Browse files Browse the repository at this point in the history
* Update deps

* Remove logout on auth error
  • Loading branch information
MrHertal authored Jan 10, 2021
1 parent be216f7 commit 47aa8dd
Show file tree
Hide file tree
Showing 4 changed files with 1,000 additions and 1,288 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ Total count is not supported by Amplify, see <https://github.com/aws-amplify/amp

That means that react-admin default pagination does not suit well. I suggest implementing a prev/next pagination like the one described in react-admin [documentation](https://marmelab.com/react-admin/List.html#pagination).

Alternatively, you can use the pagination of the [demo](https://github.com/MrHertal/react-admin-amplify-demo/blob/master/src/components/Pagination.js). It is the same as the react-admin default pagination, except it does not display total count.

### Filter

In order to use react-admin filters, you will have to correctly set [@key directives](https://docs.amplify.aws/cli/graphql-transformer/key) in your schema.
Expand Down
Loading

0 comments on commit 47aa8dd

Please sign in to comment.