fix: prevent unnecessary effects
This commit is contained in:
@@ -279,7 +279,7 @@ export function StreamView({ path, streamParticle }: StreamViewProps) {
|
|||||||
|
|
||||||
const streamDocPath = toFirestoreDocPath(path);
|
const streamDocPath = toFirestoreDocPath(path);
|
||||||
updateStreamPlaybackMarker(streamDocPath, userId, currentParticle.created_at);
|
updateStreamPlaybackMarker(streamDocPath, userId, currentParticle.created_at);
|
||||||
}, [currentParticle, path])
|
}, [currentParticle?.id, path])
|
||||||
|
|
||||||
// Author info from current particle
|
// Author info from current particle
|
||||||
const authorEmail = currentParticle?.created_by_email ?? "";
|
const authorEmail = currentParticle?.created_by_email ?? "";
|
||||||
|
|||||||
Reference in New Issue
Block a user