Skip to content

Commit 1099cec

Browse files
authored
Merge pull request #4740 from yutax77/patch-1
2 parents 0035dba + 06588d0 commit 1099cec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/tutorials/essentials/part-5-async-logic.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ We _could_ track that information using some booleans, like `isLoading: true`, b
307307
```ts
308308
{
309309
// Multiple possible status enum values
310-
status: 'idle' | 'pending' | 'succeeded' | 'rejected',
310+
status: 'idle' | 'pending' | 'succeeded' | 'failed',
311311
error: string | null
312312
}
313313
```
@@ -689,7 +689,6 @@ function PostExcerpt({ post }: PostExcerptProps) {
689689
export const PostsList = () => {
690690
const dispatch = useAppDispatch()
691691
const posts = useAppSelector(selectAllPosts)
692-
const posts = useAppSelector(selectAllPosts)
693692
const postStatus = useAppSelector(selectPostsStatus)
694693
// highlight-next-line
695694
const postsError = useAppSelector(selectPostsError)

0 commit comments

Comments
 (0)