mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-31 01:12:48 -05:00
Remove unnecessary optimistic update
This commit is contained in:
@@ -62,8 +62,6 @@ function App({ wsEndpoint }) {
|
|||||||
} else {
|
} else {
|
||||||
newSpaceIdxMap.delete(idx)
|
newSpaceIdxMap.delete(idx)
|
||||||
}
|
}
|
||||||
setSpaceIdxMap(newSpaceIdxMap)
|
|
||||||
|
|
||||||
const views = Array.from(newSpaceIdxMap, ([spaceIdx, streamId]) => [
|
const views = Array.from(newSpaceIdxMap, ([spaceIdx, streamId]) => [
|
||||||
spaceIdx,
|
spaceIdx,
|
||||||
streamData.find((d) => d._id === streamId)?.Link,
|
streamData.find((d) => d._id === streamId)?.Link,
|
||||||
|
|||||||
Reference in New Issue
Block a user