(postItem: Post)
| 48 | }); |
| 49 | |
| 50 | const mutationHandler = (postItem: Post) => { |
| 51 | return { |
| 52 | userState: { |
| 53 | ...postItem.userState, |
| 54 | flags: { |
| 55 | ...postItem.userState?.flags, |
| 56 | feedbackDismiss: true, |
| 57 | }, |
| 58 | }, |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | if (feedQueryKey) { |
| 63 | const postIndex = items.findIndex( |