small-rating-fix

This commit is contained in:
Untone 2024-01-23 22:24:31 +03:00
parent 3a3d4e87ba
commit 5e8c99332f

View File

@ -84,7 +84,7 @@ export const ReactionsProvider = (props: { children: JSX.Element }) => {
const deleteReaction = async (reaction_id: number): Promise<void> => {
const r = await apiClient.destroyReaction(reaction_id)
setReactionEntities({
[r.id]: undefined,
[reaction_id]: undefined,
})
}