some process in the web sockets ruining the linesmap

This commit is contained in:
talksik
2022-05-07 12:22:47 -05:00
parent 2c8ca0a62b
commit 19abc4b9fa
5 changed files with 38 additions and 20 deletions
@@ -21,7 +21,7 @@ export default function LineDetailsTerminal({
const isUserToggleTuned = useMemo(
() => selectedLine?.currentUserMember?.state === LineMemberState.TUNED,
[selectedLine]
[selectedLine.currentUserMember]
);
// seeing if I am in the list of broadcasters
@@ -34,6 +34,10 @@ export default function LineDetailsTerminal({
[userDetails, selectedLine]
);
useEffect(() => {
console.log(selectedLine?.currentUserMember);
}, [selectedLine]);
return (
<>
<div className="flex flex-col flex-1 bg-gray-100 items-stretch justify-start relative border-l border-l-gray-100">