Skip to content

Commit

Permalink
fix invalideateMessage call
Browse files Browse the repository at this point in the history
  • Loading branch information
totegamma committed Feb 4, 2025
1 parent 8af6176 commit 3f9569f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Message/MessageContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const MessageContainer = memo<MessageContainerProps>((props: MessageConta
size="small"
variant="outlined"
onClick={() => {
client.invalidateMessage(props.messageID)
client.api.invalidateMessage(props.messageID)
setForceUpdateCount((prev) => prev + 1)
}}
>
Expand Down

0 comments on commit 3f9569f

Please sign in to comment.