Skip to content

Commit

Permalink
Smol fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raimohanska committed Mar 4, 2024
1 parent 7177dad commit 99ee76f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/store/crdt-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function BoardCRDT(
return doc.getText(`items.${itemId}.${fieldName}`)
}

localBoardItemEvents.forEach((event) => {
localBoardItemEvents.pipe(L.filter((e) => e.boardId === boardId)).forEach((event) => {
if (event.action === "item.add") {
for (const item of event.items) {
if (isTextItem(item) && item.crdt) {
Expand Down
2 changes: 1 addition & 1 deletion perf-tester/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const BOARD_IDS = BOARD_ID.split(",")
const DOMAIN = process.env.DOMAIN

const NOTES_PER_SEC = parseFloat(process.env.NOTES_PER_SEC ?? "0.1")
const TEXTS_PER_SEC = parseFloat(process.env.TEXSTS_PER_SEC ?? "0.0")
const TEXTS_PER_SEC = parseFloat(process.env.TEXTS_PER_SEC ?? "0.0")
const EDITS_PER_SEC = parseFloat(process.env.EDITS_PER_SEC ?? "0")
const CURSOR_MOVES_PER_SEC = parseFloat(process.env.CURSOR_MOVES_PER_SEC ?? "10")

Expand Down

0 comments on commit 99ee76f

Please sign in to comment.