Skip to content

Commit

Permalink
Merge pull request #4740 from yutax77/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson authored Sep 14, 2024
2 parents 0035dba + 06588d0 commit 1099cec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/tutorials/essentials/part-5-async-logic.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ We _could_ track that information using some booleans, like `isLoading: true`, b
```ts
{
// Multiple possible status enum values
status: 'idle' | 'pending' | 'succeeded' | 'rejected',
status: 'idle' | 'pending' | 'succeeded' | 'failed',
error: string | null
}
```
Expand Down Expand Up @@ -689,7 +689,6 @@ function PostExcerpt({ post }: PostExcerptProps) {
export const PostsList = () => {
const dispatch = useAppDispatch()
const posts = useAppSelector(selectAllPosts)
const posts = useAppSelector(selectAllPosts)
const postStatus = useAppSelector(selectPostsStatus)
// highlight-next-line
const postsError = useAppSelector(selectPostsError)
Expand Down

0 comments on commit 1099cec

Please sign in to comment.