Skip to content

Commit 07deb80

Browse files
authored
Second attempt fixing syntax error
1 parent 600133d commit 07deb80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rtk-query/usage/pagination.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const postApi = createApi({
9999
},
100100
// Invalidates queries that subscribe to this Post `id` as well as the `LIST`.
101101
invalidatesTags: (result, error, id) => [{ type: 'Posts', id },
102-
{ type: 'Posts', 'LIST'}],
102+
{ type: 'Posts', id: 'LIST'}],
103103
}),
104104
})
105105
```

0 commit comments

Comments
 (0)