Skip to content

Commit

Permalink
chore: remove unused changedConsentCount
Browse files Browse the repository at this point in the history
  • Loading branch information
MuckT committed Jul 1, 2024
1 parent e170d99 commit 95534d1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ export const FullConversation = ({
isLoading = false,
address,
}: FullConversationProps) => {
const changedConsentCount = useXmtpStore((s) => s.changedConsentCount);
const virtuosoRef = useRef<VirtuosoHandle>(null);
const filteredMessages = useMemo(() => {
const filtered = messages.filter((msg) => msg !== null);
Expand All @@ -99,7 +98,7 @@ export const FullConversation = ({
...filtered,
<AcceptOrDeny key={address} address={address} />,
];
}, [isLoading, messages, address, changedConsentCount]);
}, [isLoading, messages, address]);

return (
<Virtuoso
Expand Down

0 comments on commit 95534d1

Please sign in to comment.