mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-10 12:49:29 +02:00
fix switching streams in stream moderation view
This commit is contained in:
parent
b5c749cf23
commit
6ee0737ed7
@ -23,7 +23,7 @@ export default function useStreamChatTimeline(stream: ParsedStream) {
|
||||
if (stream.ends && event.created_at > stream.ends) return false;
|
||||
return !(hostMuteFilter(event) || muteFilter(event));
|
||||
},
|
||||
[hostMuteFilter, muteFilter],
|
||||
[stream, hostMuteFilter, muteFilter],
|
||||
);
|
||||
|
||||
const goal = useStreamGoal(stream);
|
||||
|
@ -130,7 +130,7 @@ function ZapMessagesCard({ stream, ...props }: Omit<CardProps, "children"> & { s
|
||||
|
||||
function StreamModerationDashboard({ stream }: { stream: ParsedStream }) {
|
||||
return (
|
||||
<Flex gap="2" overflow="hidden">
|
||||
<Flex gap="2" overflow="hidden" height="100%">
|
||||
<UserMuteCard stream={stream} flex={1} />
|
||||
<ZapMessagesCard stream={stream} flex={1} />
|
||||
<StreamChat stream={stream} flex={1} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user