Skip to content

Commit

Permalink
chore: Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
andreidmt committed Sep 11, 2020
1 parent c6d1a96 commit 7b9993f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@
## Install

```bash
npm install just-a-list.redux
npm install just-a-list.redux
```

## Example

Get some Toto's from an API and list them in a React component.
Get Todo items from API and list them in React component.

`src/todos.list.js`
`src/todos.list.js`

```js
import { buildList } from "just-a-list.redux"

export const TodosList = buildList({
/**
* Unique name used as Redux store key. If multiple lists use the same
* name, an error will be thrown. List is added on the root level of the
* name, an error will be thrown. List is added on the root level of the
* Redux store.
*/
name: "PAGE.SECTION.TODOS",
Expand Down
4 changes: 0 additions & 4 deletions src/remove/remove__optimist.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ test("Remove, isOptimist = true", async t => {
)

return updatePromise.then(() => {
console.log({
errors: store.getState()["REMOVE-OPTIMIST-TRUE_TODOS"].errors,
})

t.deepEquals(
todos.selector(store.getState()).items(),
[{ id: 2 }],
Expand Down

0 comments on commit 7b9993f

Please sign in to comment.