forked from Kieran/zap.stream
fix: cleanup fn
This commit is contained in:
parent
64cf924131
commit
b241738f67
@ -146,6 +146,7 @@ function ChatZap({ ev }: { ev: TaggedRawEvent }) {
|
||||
parsed.sender
|
||||
) {
|
||||
System.ProfileLoader.TrackMetadata(parsed.sender);
|
||||
return () => System.ProfileLoader.UntrackMetadata(parsed.sender);
|
||||
}
|
||||
}, [parsed]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user