From fa13714c32932b6d5009e57fa2d0ef2c77697bb1 Mon Sep 17 00:00:00 2001 From: Sam Willis Date: Sun, 8 Dec 2024 14:55:02 +0000 Subject: [PATCH] fix(pglite/live): Remove a debug console.log from the live query plugin (#457) --- .changeset/smart-pianos-turn.md | 5 +++++ packages/pglite/src/live/index.ts | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changeset/smart-pianos-turn.md diff --git a/.changeset/smart-pianos-turn.md b/.changeset/smart-pianos-turn.md new file mode 100644 index 00000000..c6266a10 --- /dev/null +++ b/.changeset/smart-pianos-turn.md @@ -0,0 +1,5 @@ +--- +'@electric-sql/pglite': patch +--- + +Remove a debug console.log from the live query plugin diff --git a/packages/pglite/src/live/index.ts b/packages/pglite/src/live/index.ts index eebe07b2..73d133ca 100644 --- a/packages/pglite/src/live/index.ts +++ b/packages/pglite/src/live/index.ts @@ -203,7 +203,6 @@ const setup = async (pg: PGliteInterface, _emscriptenOpts: any) => { ) ).rows[0].count if (newTotalCount !== totalCount) { - console.log('newTotalCount', newTotalCount) // The total count has changed, refresh the query totalCount = newTotalCount refresh()