From 854d5cc94a62b95810d2e72567d6bf94baf193fd Mon Sep 17 00:00:00 2001 From: Paul Harter Date: Wed, 29 Nov 2023 11:46:37 +0000 Subject: [PATCH] removing toolbar from web example --- examples/web-wa-sqlite/package.json | 1 - examples/web-wa-sqlite/src/Example.tsx | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/examples/web-wa-sqlite/package.json b/examples/web-wa-sqlite/package.json index c12cedf0ab..a0bb8c176e 100644 --- a/examples/web-wa-sqlite/package.json +++ b/examples/web-wa-sqlite/package.json @@ -32,7 +32,6 @@ "devDependencies": { "@databases/pg-migrations": "^5.0.2", "@electric-sql/prisma-generator": "^1.1.0", - "@electric-sql/debug-toolbar": "^0.1.0", "@prisma/client": "4.8.1", "@types/node": ">=16.11.0", "@types/react": "^18.0.18", diff --git a/examples/web-wa-sqlite/src/Example.tsx b/examples/web-wa-sqlite/src/Example.tsx index 72f089b490..1b19454721 100644 --- a/examples/web-wa-sqlite/src/Example.tsx +++ b/examples/web-wa-sqlite/src/Example.tsx @@ -39,17 +39,6 @@ export const Example = () => { } setElectric(electric) - - // add the toolbar in debug mode - if (DEBUG_MODE) { - import ('@electric-sql/debug-toolbar').then(toolbar => { - import ('electric-sql/satellite').then(satellite => { - import ('@electric-sql/debug-toolbar/dist/index.cjs.css').then(_ => { - toolbar.default(toolbar.clientApi(satellite.globalRegistry)) - }) - }); - }); - } } init()