Skip to content

Commit

Permalink
removing toolbar from web example
Browse files Browse the repository at this point in the history
  • Loading branch information
paulharter committed Dec 4, 2023
1 parent d0977e7 commit 854d5cc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion examples/web-wa-sqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 0 additions & 11 deletions examples/web-wa-sqlite/src/Example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 854d5cc

Please sign in to comment.