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